Hey,
Ok I am using Flash MX 2004 to play a flv video file for a clients interview. Now, having a slight problem.
I am loading the video into a new level, using this on the button:
[AS]
on (release) {
// unload anything in gallery
unloadMovieNum(2);
// load new movies
loadMovie("interview_play.swf", 2);
}
[/AS]
Now, this starts playing the interview using the media component etc, that works fine. Thing is, if I go to another section within the site I obviously want to remove this video, I don’t want it to play anymore. So I use the following on the other menu buttons.
[AS]
unloadMovieNum(2);
[/AS]
Now, this remove the interview from being seen, but the audio keeps playing!
I thought I could just stop the sound but this doesn’t do anything:
[AS]
_level2.stopAllSounds();
[/AS]
What’s going on? How can I completely remove this video interview?
Cheers,
Chris