/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Start Sound var snd:Sound = new OldPhone(); // OldPhone is the name of the audio file in the library. var channel:SoundChannel; channel = snd.play() Stop Sound channel.stop(); // stops playing whatever the sound is in that channel