What you have found are two different versions of the same problem in Flash. A sound will continue to play until it finishes or it is told to stop. Video with sound will do the same thing. The solution is to tell the sound file to stop playing, or in your case, tell the video to stop playing when you no longer want it around. If you are playing the flv in an flvplayback component, be sure to give the component instance a name and then tell that instance to stop playing when you move away from it in the timeline.
If you want to play the sound in a layer, then you want to set the frame's sound Sync property to "Stream". This will keep the playback head from playing new instances of the sound, it will start over, but it won't play one copy on top of another. If you want to stop a sound that is playing in a timeline layer, you will need to use "SoundMixer.stopAll();" this will stop all sounds that are playing. When you play a sound in a layer, you have no direct control over it, so you can only tell all of the currently playing sounds to stop.
1 person found this helpful
Have you tried setting the audio to "stream"?
This was the fix, though it took me a bit to figure out exactly where it needed to go. We nest clips inside clips inside clips. Not the way I would like to do things but I am working with a group from overseas and I have to work with what I am given. This works when the audio is in the flv file. Didn't try it with audio on its own layer since the audio is already in the flv and would take more work to remove it than we have time for.
Thanks again for your help on this.
Thanks for the thought. I had it set to steam. That does not effect the issue I was having at all though. This is definitely something to keep in mind when embedding the audio on its own layer though. I appreciate the help a lot. Thanks again for the reply.