Posted By

zeman on 07/21/08


Tagged

textmate flv video audio as3 volume


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

THEPWN3R
dubogii


Adjust Volume on FLV Video


 / Published in: ActionScript 3
 

  1. var st:SoundTransform = new SoundTransform();
  2. st.volume = 1;
  3. stream.soundTransform = st;
  4.  
  5. function mute(e:MouseEvent):void {
  6. st.volume = 0;
  7. stream.soundTransform = st; // must reconnect after each volume change
  8. }

Report this snippet  

You need to login to post a comment.