views:

42

answers:

2

How to stop this sound ? :

MySound.play(0,100,null);
+2  A: 

play returns a SoundChannel, which has a stop() method. See Documentation.

Generates a new SoundChannel object to play back the sound. This method returns a SoundChannel object, which you access to stop the sound and to monitor volume.

Brian
+3  A: 
var soundChannel:SoundChannel = MySound.play(0, 100, null);
...
soundChannel.stop();
Wade Mueller