Tuesday, June 14, 2011

stopAllSounds in AS3 - Flash

The old stopAllSounds() method from as2 is easy to replace in AS3 using the following code:

import flash.media.SoundMixer;

SoundMixer.stopAll();


No comments:

Post a Comment