Hi. I’ve got two files (asphaltdesign.swf and main.swf). When you click on the ‘Enter asphaltdesign’ button (the yellow side), main.swf over the top in an empty movieclip. Unfortunately, at the moment, the buttons on asphaltdesign.swf still have functionality.
is it best to unload the background movie (asphaltdesign) or use some actionscript to remove it’s visible functionality? Either way, I can’t seem to get it to work.
I’ve included a zip - could someone give it a bash please?
Thanks in advance! :]
You can either use the “unloadMovie(asphaltdesign);” action to unload the entire asphaltdesign movie. Or if you just want to disable the buttons: “enter_button.enabled = false;” That should do the trick
*Originally posted by Dutch flash boy *
**You can either use the “unloadMovie(asphaltdesign);” action to unload the entire asphaltdesign movie. Or if you just want to disable the buttons: “enter_button.enabled = false;” That should do the trick **
if I unload the entire asphaltdesign, will that get rid of the empty movie clip that main.swf loads into? I think it does, cos every time I try it, it unloads everything and I get a blank page lol.
I think the asphaltdesign.swf file is your main movie, from there you can load and unload as many movies as you want. But when you unload your main movie (in your case this would be the asphaltdesign movie) everything is gone indeed. So maybe it’s best to go with the “enter_button.enabled = false;” -plan.
Or you could clear everything on your asphaltdesign movie on, let’s say, frame 50 and let the movie jump to that frame “gotoAndPlay(50)” when the user clicks on the yellow side so there would be no buttons behind your main movie.
*Originally posted by Dutch flash boy *
**Or you could clear everything on your asphaltdesign movie on, let’s say, frame 50 and let the movie jump to that frame “gotoAndPlay(50)” when the user clicks on the yellow side so there would be no buttons behind your main movie. **
Yeah, thats what I had before but sometimes, depending on connection and loading speed the background (asphaltdesign) disappears before the new movie is completely ready - I suppose I could just extend it by a lot…