In this tutorial
http://www.kirupa.com/developer/actionscript/sound.htm
it shows how to start a sound, and I got that down, but using a seperate button, how do you stop the sound?
I cant figure that out.
Skyler
In this tutorial
http://www.kirupa.com/developer/actionscript/sound.htm
it shows how to start a sound, and I got that down, but using a seperate button, how do you stop the sound?
I cant figure that out.
Skyler
on (press) {
stopAllSounds();
}
I guess that would do :))
Oceans’s way works but stops all sounds.
Better use
[AS] on(release){
kirupaSound.stop();
}[/AS]
And a lot about sound
scotty(-:
:: Copyright KIRUPA 2024 //--