AS3 soundTransformObject


/ Published in: ActionScript 3
Save to your folder(s)

Basic way to sound controlling in a swf


Copy this code and paste it in your HTML
  1. //SoundTransform(vol:Number = 1, panning:Number = 0)
  2.  
  3. var sTransform:SoundTransform = new SoundTransform(0,0);
  4. sTransform.volume = 1;
  5. SoundMixer.soundTransform = sTransform;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.