-
1. Re: creating multiple audio beeps without multiple layers
Bharadwaj Sep 23, 2014 2:26 AM (in response to stijill)Do you want to use the same audio when an event occurs(clicking on a key), or repeat the audio continuously.
If you want to play the audio when an event occurs, add an event handler and play audio on that event.
In case you want to repeat audio continuously, use loop property of audio elements.
If your case is neither of them, can you give some more details.
-
2. Re: creating multiple audio beeps without multiple layers
stijill Sep 23, 2014 11:14 PM (in response to stijill)I'm using in a event. just double click anywhere.
-
3. Re: creating multiple audio beeps without multiple layers
Bharadwaj Sep 24, 2014 1:33 AM (in response to stijill)If you want to play the sound clicking anywhere, add an event listener to stage, which plays the sound.
Something like this will do.
On click handler of stage
sym.$("sound")[0].play();
-
4. Re: creating multiple audio beeps without multiple layers
stijill Sep 24, 2014 11:14 PM (in response to Bharadwaj)Thanks my present "triggers" are doing the job, but I just wanted to know if it could be done within the timeline without deviating from the gui interface. You know "drag and drop"
-
5. Re: creating multiple audio beeps without multiple layers
Joe Bowden Sep 25, 2014 7:09 PM (in response to stijill)Hi stijill,
Not sure I fully understand - if you're using triggers and it's working as-is, then is your problem solved?
It is possible to play audio in the timeline without using any scripting: add Play From playback actions to the audio's timeline track at the desired times.
hth,
Joe



