Put this on the symbol.
gotoAndStop(2)
(stopAllSounds());
}
and then on whatever frame you are going to use this.
var segs:Number = 0; //This is where we will store the segs played
var misonido:Sound = new Sound();
misonido.attachSound("misonido"); //misonido is the linkage id of the sound in the library
misonido.start(0); //Start from the beginning
var pausado:Boolean = false;
function resumeSound(){
if(pausado){ //check if the sound was paused
// trace(segs/1000); //The number stored is in miliseconds, so you need to
//make it seconds
misonido.start(segs/1000);
pausado = false; //sound is not paused anymore
}
}
function stopSound(){
segs = misonido.position;
stopAllSounds();
pausado = true;
}
and that's it, unless you're not swapping through frames, then i have no idea how to help you