# Loadmovie with transition - need to target specific frame

**URL:** <https://forum.kirupa.com/t/loadmovie-with-transition-need-to-target-specific-frame/79768>\
**Category:** Uncategorized\
**Created:** [February 16, 2005, 10:29pm UTC](https://forum.kirupa.com/t/loadmovie-with-transition-need-to-target-specific-frame/79768 "2005-02-16T22:29:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stikigekko](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@stikigekko](https://forum.kirupa.com/u/stikigekko)\
**Post date:** [February 16, 2005, 10:29pm UTC](https://forum.kirupa.com/t/loadmovie-with-transition-need-to-target-specific-frame/79768/1 "2005-02-16T22:29:22Z")

</div>

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:

```auto

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");
}
}
}

```
