Loading swf in another level?

I was working on a purchased template and is rather newbie to flash actionscripts since I only used them for mostly animations.

Edit: forgot to mention it’s flash mx actionscript…

Top level = main.swf
bottom level = pagexx.swf (xx = 1,2,3,etc)

Problem: When loading another swf from the main.swf into main.swf, it works fine. But now I have a problem of loading page2.swf from page1.swf which is now opened in main.swf. I’ve tried using loadmovienum but they overlap each other instead of page1.swf disappearing. Hope I explained the situation well enough. Here’s the script from main.swf used to load page5.swf (where all the 5 = page5).

on(rollOver) {
if(_root.link<>5) {
gotoAndPlay(“s1”);
}
}

on(rollOut) {
if(_root.link<>5) {
gotoAndPlay(“s2”);
}

}

on(release) {
if(_root.link<>5 and _root.flag_animation==“true”) {
_root.flag_animation=“false”;
_parent[“item” + _root.link].gotoAndPlay(“s2”);
_root.main.plane.robo.gotoAndPlay(“p4”);
_root.link=5;
_level2.main.gotoAndPlay(“dissappear”);
}
}