Is it easy?

How do I make a button that doesn’t load the target mc, if that mc is already loaded.

Here is the code I used:

on(press){
if(!bLoadCommandIssued){
bLoadCommandIssued = true;
loadMovie(“filename.swf”, “1”);
}
}

It doesn’t load the mc again but it won’t unload the movie in level_1?

Check my site, http://www.staticproject.com if you have any questions

you want to unload the movie if the movie is already loaded?
them add one line to the script:
on(press){
if(!bLoadCommandIssued){
bLoadCommandIssued = true;
loadMovie(“filename.swf”, “1”);
} else {
unloadMovie(“filename.swf”);
}
}
:slight_smile: :-\ :slight_smile:

No, here is what I want to do:

on Release, button_1 loads mymovie.swf. If button_1 is pressed again, mymovie.swf won’t be loaded again.

Then, if button_2 is pressed, mymovie2.swf is loaded in place of mymovie.swf.