/ Published in: ActionScript 3

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var st:SoundTransform = new SoundTransform(); st.volume = 1; stream.soundTransform = st; function mute(e:MouseEvent):void { st.volume = 0; stream.soundTransform = st; // must reconnect after each volume change }
Comments
