是否有人可以帮助快速静音或使用AS 3.0静音舞台量在Flash CS3。
Can someone please help quickly mute or unmute the stage volume in Flash CS3 using AS 3.0.
感谢
你想要的是SoundMixer类的东西。只需设置它的SoundTransform对象是这样的:
What you want is the SoundMixer class. Just set it's soundTransform object like this:
静音:
SoundMixer.soundTransform = new SoundTransform(0);
取消静音:
SoundMixer.soundTransform = new SoundTransform(1);