AS3 Mute sounds globally (2)

May 13th, 2009 by terrypaton, under Library.

var sTransform:SoundTransform = new SoundTransform(1,0);
sTransform.volume = 0;
SoundMixer.soundTransform = sTransform;

2 Responses to “AS3 Mute sounds globally”

  1. Jesperb21 says:

    AWESOME!!! thanks dude! hey if anyone dosnt get this to work…remember to “import” the sound functions

  2. Hangman says:

    Thanks for the tip, exactly what I was looking for.

Leave a Reply