Unloading Movie Clips from container

Hi, I’ve created a main page with my main links on top, and a container as my body.
I load my pages with this action to the container. NO PROBLEM.
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “production”;
container.loadMovie(“production.swf”);
} else if (_root.currMovie != “production”) {
if (container._currentframe >= container.midframe) {
_root.currMovie = “production”;
container.play();
}
}
}
Inside the production.swf files I’ve created a gallery with a MovieClip that loads from my library to a container1 inside the production.swf. In the galleryMC(from library), Ive created a close button to unload it from the container1. It works fine from my production.swf file, but when it loads to the main page it doesn’t unload. This is the ActionScript that I have to unload the Movie Clip.
on (release) {
this._root.container1.unloadMovie();
}
can some tell me how can I fix this problem please.:crying:
Best Regards