Loading a SWF to Container from within a movie clip button

Hey guys. I made a site that has buttons within are animated as a part of a movie clip. I am trying to change the AS to call for these external swfs into the “container” which is of course outside the movie clip button.

here is what the button would call for if outside the movie clip:

[COLOR=Navy]on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “gallery”;
container.loadMovie("[/COLOR][COLOR=Navy]gallery[/COLOR][COLOR=Navy].swf");
} else if (_root.currMovie != “[/COLOR][COLOR=Navy]gallery[/COLOR][COLOR=Navy]”) {
if (container._currentframe>= container.midframe) {
_root.currMovie = “[/COLOR][COLOR=Navy]gallery[/COLOR][COLOR=Navy]”;
container.play();
}
}
}
[COLOR=Black]
the only AS that is in the button movie now is:[/COLOR]

on (rollOver) {
this.gotoAndPlay(“over”);
}
on (rollOut) {
this.gotoAndPlay(“out”);
}
[COLOR=Black]any ideas? Thanks very much for your help and time![/COLOR][/COLOR]