-
AS3 stop sound
Just need a bit of help.
I need to have one sound on the timeline stop playing while letting the others continue. The sound is named "shark".
I know how to use:
flash.media.SoundMixer;
SoundMixer.stopAll();
but instead of stopping all the sounds, I just want to stop the sound named 'shark'. Can someone point me in the right direction? Thanks!!
-
If you have the sound in the library you can create a class, call it and later stop it individually.
Here is shown how to create a class:
http://flashscript.biz/flashas3/Wave...nalyzer_2.html
If it is embedded on the timeline, no way.