PDA

View Full Version : stopping flv player


korben
12-05-2008, 12:45 AM
I am sure there is an easy way around this issue but I am very new to AS so I am at a loss.

The Situation: I have a FLV player contained in a movie clip which is in turn contained in another movie clip (for organization. etc.) that is dynamically loading and playing an flv. This movie clip shows up on frame 4 of my main timeline. The other 3 frames have other content that can be accessed through the simple navigation. Anyway. Once the user gets to frame 4 the video plays as it should but if the user goes back to frame 1 for example the audio for the flv still plays. So, is there a way to stop that? The quick fix I have found was to use the SoundMixer.stopAll(); command on all the other frames. This works but I would like to learn a more proper way of doing this. Hopefully that all makes sense :confused:

thanks

korben
12-05-2008, 04:11 PM
i suppose i will try to figure this out in the mean time with more trial and error.

korben
12-09-2008, 10:39 PM
so, after some research i guess this is a common problem many face? so, is there a way to stop the audio of a flv component that is contained in a movie clip and in turn that movie clip is contained in another movie clip on the main timeline? yikes! this is driving me crazy! Would a 3rd party flv player work any different--like if i were to pick up something off of flashden for example?

korben
12-10-2008, 05:07 PM
i wonder....would it work if i put the flvs on the main timeline? it just seems like such a disorganized mess in that case. well, let me post this question then. is there a better method or different format or way i can load a movie into a movie clip that is then contained within another movie clip (as i mentioned in my initial post) and then added onto the main timeline--but will stop playing (audio especially) when i go to a different frame on my main timeline? does that make sense? because remember i am having the issue of the flv audio still being heard after i go to a different frame. i am using the SoundMixer.stopAll(); script on all the other frames to prevent this but then that kills my audio on those frames.