Loadmovie with transition - need to target specific frame

I have a pretty simple problem but I’ve tried a bunch of different things, and I’ve done alot of searching and I’m still stuck.

Ok… I have several buttons on my main movie which are each loading an external swf into an empty movie clip. I have a button called “about” which loads “aboutus.swf” which works fine. I also have a button called “contact” which also loads “aboutus.swf”, but needs to go to a specific frame labeled “contact.” The “contact” frame is located inside a movie clip which has an instance name “about” in aboutus.swf. I am trying to use gotoAndPlay to target the specific frame, but I can’t seem to get it to work. I’ve tried all sorts of different paths, but none of them work. I am not that experienced with actionscript, so its probablly a really stupid mistake.

Here is the code:


on (release) {
	if (_root.currMovie == undefined) {
	_root.currMovie = "main";
	container.loadMovie("aboutus.swf");
	_root.container.aboutus.about.gotoAndPlay("contact");
} 
	else if (_root.currMovie != "aboutus") {
	if (container._currentframe >= container.midframe) {
	_root.currMovie = "aboutus";
	container.play();
	_root.container.aboutus.about.gotoAndPlay("contact");
}
}
}