6/28/2010 10:46:17 PM
Title:
SWF video Play problem
Hi all.
I am facing a proble in playing an swf video thro flex 3. When i close the video, i give SoundMixer.stopAll() property. but even after the video is closed i still hear the audio gettin played. It happens only when i play an swf and not an video file.
Did i miss anything??
6/29/2010 12:06:10 AM
try setting volume global volume to 0 , see this code to mute all sounds
globalSoundControl = new Sound();
globalSoundControl.setVolume(0);
6/29/2010 10:57:26 AM
there is bug in flash player which causes sound to play even if video is unloaded , It happened to me when using youtube videos in flash. in my case even removing and deleting the loaded swf didnt stp the audio . Its really strange , please let me know if you found any solution
thanks
Martin
6/29/2010 9:33:30 PM
Hi..
I sort of solved the issue..
After the video is closed, i do swfloader.source='' and swfloader.load();
so that it loads nothing and the sound is stopped.
not sure if this is the right way. but the
globalSoundControl = new Sound();
globalSoundControl.setVolume(0);
dint work at all..
there is no property called setVolume for sound object.
correct me if i'm wrong.