Flex2: Streaming Video: mute sound

Piatok, Júl 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

2 Comments


  1. Tinic Uro
    Visit Site
    Júl 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
    Júl 29th, 2006

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

Sorry, comments for this entry are closed at this time.

Images is enhanced with WordPress Lightbox JS by Zeo