PDA

View Full Version : External .flv problem in Flash... Please Help.


Rabbits
1-29-05, 06:04 PM
Hello there,

I'm just getting into streaming external FLV files on my website. I've made up my Flash page, added a MediaDisplay component and a MediaController to the movieclip object that is to play the FLV file, and everything works perfect. The problem I'm having is that when the 'close' button (a button I made to close the movieclip object containg the MediaDisplay component) is pressed, the movieclip close fine, but the external .flv file is still playing. I would like it to stop playing once the movieclip object is closed. Does anyone know what actionscript I need to add and to what to add it to in order for this to work? Thanks

Gorkfu
1-30-05, 12:39 AM
You might have to add a stop and gotoandplay action to the button to get this to work. Can you post a link of the working FLV? Seeing how the FLV works can give me a better idea of what action scripting could help. Also what flash program did you make this with and what version is it published as? These can effect the way the script plays out.

corey snyder
1-31-05, 11:59 PM
load the movie in on a new level >
loadMovieNum("http://yourwebaddress.com", 1);

then on the close button unload the movie >
on (release) {
unloadMovie(this);
}

this will completely remove the clip and anything dealing with it..

corey