Question
Stop loop Sound
Hello users, I'm going through a difficult time trying to stop a loop from an audio, even using the class + stop, the same does not stop.
I've been trying to focus on this for a few hours, and all the attempts have been in vain:
var mySound:ambientSound = new ambientSound();
function good (Event:MouseEvent) : void {
MySound.play(0, 999); // Loop
}
function bad (Event:MouseEvent) : void {
MySound.stop();
}
Could someone clarify to me why this occurs, and a solution? Grateful!
