Pausing audio

How do i pause an audio and then start it from where it left off…I am making a slide show for a virtual tour.

What version of Flash are you using? How are you loading the sound (external mp3, external swf, etc)?

To pause


yourduration = yourSound.position
yourSound.stop();

to continue


yourSound.start(yourduration*1000,999);
// 999 is the amount of times to loop

Have a look at www.kennybellew.com too :slight_smile:

my sound is in its own layer. should i need this to be loaded instead of directly putting it in the timeline…If so how do i do that

thanks

Sound on the timeline is very hard to control. That’s why most people use the sound object. You can find a lot about it on www.kennybellew.com, that site has exactly what you want.