Flex2: Streaming Video: mute sound
Friday, July 28th, 2006I’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






2 Comments
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.
Administrator
• Visit Site
July 29th, 2006
thanks Tinic, it works!!!!
great…. thanks for your help
Live Preview
Leave a comment