Container error, loading external SWF still exist... Please Read

hey guys… ive been cranking for over 10+ hours, and thought i figured the whole thing out but i just ran across a nasty error.

I have 4 flash files. I want to externally load 3 other files to completely change the layout.

Now, the main file has a container located on top of the layout that I have created for the 1st layout.

When I click a button to go to the next external swf (layout), it loads up the next swf file, which takes up the whole layout; basically changes the entire layout, even covering the previous buttons. Exactly what I want it to do.

Now the thing that happens is, once the new layout is up and running perfectly, the buttons from the previous file, are still clickable. You can’t see them at all, but the buttons are still clickable when you move the mouse over where they last where on the previous layout.

*** Examples of code (actionscript) in the Main File on the button


on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “test01”;
container.loadMovie(“test01.swf”);
} else if (_root.currMovie != “test01”) {
if (container._currentframe>= container.midframe) {
_root.currMovie = “test01”;
container.play();
}
}
}
*** you can also use this code as well and it still does the same thing…***

on(release){
container.loadMovie(“test01.swf”);
}

I don’t know if I’m doing something wrong, or just not adding the correct code. Please help