Welcome to Gaia! ::

ok, i have 2 sound clips in my flash project, the first is like an intro sound, and it flows into the second sound. i have a "stop();" action (its in a frame in the middle of the second sound)

The second sound stops when its over. What actionscript 3 code can i use (or what can i do) to make ONLY the second sound loop over and over again?

User Image - Blocked by "Display Image" Settings. Click to show.
Personally I wouldn't use the timeline, far too fiddly and lack of control.

You'd instantiate both media files as sound objects, then just create actions on wherever point in time you wish for an event to happen, and use the .start and .stop methods; start should loop the sound I believe, you can also specify the maximum number of times it can loop by entering an int into the second parameter.

reference

Quick Reply

Submit
Manage Your Items
Other Stuff
Get Items
Get Gaia Cash
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff