Idle Hamster

September 16th, 2009

VideoEvent.COMPLETE and SoundMixer.stopAll()


I just ran across a strange behavior in flash that might save you a few mnutes of head scratching. I had a video playing using a FLVPlayback component.  I also had a button with a roll over sound on it.  On roll over I used SoundMixer.stopAll() to kill any extra roll over sounds.  Well this also kills the video sound and triggers the video complete event.  My best guess is the SoundMixer class is killing all of the video streams in addition to any audio streams.  Lesson learned.