views:

748

answers:

2

Hi

Can someone please help quickly mute or unmute the stage volume in Flash CS3 using AS 3.0.

Thanks

A: 

Have a look here. There are a lot out there I guess.

George Profenza
+1  A: 

What you want is the SoundMixer class. Just set it's soundTransform object like this:

Mute:

SoundMixer.soundTransform = new SoundTransform(0);

Unmute:

SoundMixer.soundTransform = new SoundTransform(1);
Branden Hall