Hi i created the Master.fla file and i have several swf files that i want to load through the external swf loading method .....
So here is the problem
I can load all the external files and all but i have a problem on how i'm suppose to go back to previous page....For example
I have Mainmenu.swf and from there when clicked "Exit" button it will link to Exit.swf
So far i'm able to load it correctly .....there is a "Back" button in the Exit.swf that should link back to Mainmenu.swf....
Here is the code
Mainmenu code
loadMovieNum("Mainmenu.swf", 1); // loads the main menu
unloadMovieNum("Exit.swf" ,2);////to unload the exit swf when go back to main menu
Exit code
loadMovieNum("Exit.swf", 2); // loads the exitpage
unloadMovieNum("Mainmenu.swf" ,1);////to unload the mainmenu swf when go to exit
back button
back.onPress = function() {
this.play();
_level0.gotoAndPlay(3);// the mainemenu frame in master.fla
unloadMovie(_level3);
};
-
- Mainmenu code
- loadMovieNum("Mainmenu.swf", 1); // loads the main menu
- unloadMovieNum("Exit.swf" ,2);////to unload the exit swf when go back to main menu
-
- Exit code
- loadMovieNum("Exit.swf", 2); // loads the exitpage
- unloadMovieNum("Mainmenu.swf" ,1);////to unload the mainmenu swf when go to exit
-
- back button
- back.onPress = function() {
- this.play();
- _level0.gotoAndPlay(3);// the mainemenu frame in master.fla
- unloadMovie(_level3);
- };
This code works fine but one problem in all my other swf files i have the exit page, it links and loads the exit page when clicked on the button BUT i can't go back to any previous page i was before i clicked on the ERxit button. Is there away to go back to any previous page....
please HELP