ironikart
March 31st, 2003, 09:38 PM
Hi all,
I'm having a bit of trouble using a function that loads external swf's into the main movie. The function works fine, but I want to expand it to test if a movie is already loaded. Here is the actions for the button that loads the movie:
on (release) {
_root.movieloader("Image.swf");
}
and here is the function in the main timeline of the movie:
function movieloader(name){
loadMovie(name, _root.maincontent);
} //where maincontent is the destination MC
Any ideas on how I can incorporate some sort test to see whether a movie has been loaded already? I want to avoid clicking on the button multiple times and having it reload each time.
Thanks in advance!:)
I'm having a bit of trouble using a function that loads external swf's into the main movie. The function works fine, but I want to expand it to test if a movie is already loaded. Here is the actions for the button that loads the movie:
on (release) {
_root.movieloader("Image.swf");
}
and here is the function in the main timeline of the movie:
function movieloader(name){
loadMovie(name, _root.maincontent);
} //where maincontent is the destination MC
Any ideas on how I can incorporate some sort test to see whether a movie has been loaded already? I want to avoid clicking on the button multiple times and having it reload each time.
Thanks in advance!:)