Flex2: Streaming Video: mute sound

Friday, July 28th, 2006

I’ve got problem with streaming video in Flex2. I can not mute/unmute sound from video.
Please note, that this is Flex2/AS3 not Flash8/AS2 problem.

I’ve tried everything I know or was able to read from documentation.

  • netstream.soundTransform.volume = 0 => volume is unchanged = 1
  • receiveAudio(false) => audio is still there
  • pause/resume video after receiveAudio(false) command to stop buffered sound

But nothing work. Has someone solution, working example, or just advices for me? I need to get this work. Please help.

Thanks for all advices.
Franto

tagged under:

ABOUT THIS AUTHOR

Get a Trackback link

2 Comments


  1. Tinic Uro
    Visit Site
    July 28th, 2006

    Try this instead:

    netstream.soundTransform = new SoundTransform(0);

    or

    var t:SoundTransform = new SoundTransform();
    t.volume = 0;
    netstream.soundTransform = t;

    XXX.soundTransform properties work by assignment only, you can’t change members directly.


  2. Administrator
    Visit Site
    July 29th, 2006

    thanks Tinic, it works!!!!
    great…. thanks for your help

Live Preview

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

CommentLuv Enabled

Images is enhanced with WordPress Lightbox JS by Zeo