stop all sounds in Flash AS3

You can call it the global mute as well. What this line of code does is actually just turning down the entire flash’s volume down to 0. This is great for websites or games alike when a “Sound Off” or “Mute” feature is needed.

SoundMixer.soundTransform = new SoundTransform(0);

6 Responses to “stop all sounds in Flash AS3”

  1. KEv

    THANK YOU! You just saved me from hearing the same sound in error about a million times. hahaha thanks so much. :)

  2. Antonio Murguia

    Master Edwin, thanks a lot for share this simple but powerfull solution.
    Im sure you going to climb as high as you want in your professional life.

    Saludos from Mexico.

  3. Adidavis

    Thanks for this, been looking for an answer all afternoon

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>