Welcome to Gaia! :: Adobe Flash cs4 [solved] | Forum

Register FaceBook Login Login

 

 
GST

Welcome to Gaia's forums, where millions of members gather to discuss random stuff, make new friends,
complain about life, argue about nothing, laugh at dumb pictures, discuss serious issues and/or curse like sailors.

Lurking is creepy. Quit skulking in the shadows and join the conversation!

Register to reply

Advertisement
Tags: adobe  flash  loop  music  upload 
Share:  
forum:43, topic:56063127
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?

http://img340.imageshack.us/img340/1426/loopsound.th.png
 
     
 
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
     
Paying MILLIONS/piece for high quality Illustrations and my OC requests. PM with your portfolio if interested.

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

We will be phasing out support for your browser soon.

Please upgrade to one of these more modern browsers.