/ Published in: ActionScript 3
Basic way to sound controlling in a swf
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//SoundTransform(vol:Number = 1, panning:Number = 0) var sTransform:SoundTransform = new SoundTransform(0,0); sTransform.volume = 1; SoundMixer.soundTransform = sTransform;