Touble with a loaded movie

Ok, today is just

NOT my day.

I’m working on a simple interface in which separate movies are loaded into a movie clip in my main interface. However, when I load a certain movie I have created into the main interface, it does not work correctly. When you click on one of the photos, which contains a simple ‘goToAndStop’ command, the movie seems to freeze up.

Here is the main interface.

I will post the other movie in a reply. Save them both to the same directory and load the main interface. Click on “Band” and then when the five faces come up, click on the top left face. The movie freezes up. It works fine by itself. I cannot figure this one out.

Ok, well, the other file is to big to attach. So, if you want to try and help, IM me on AOL IM. My screen name is [COLOR=red]yourweaponisgil[/COLOR]

place the 2nd file in a zip file and upload it here.

Ok, here you go…

Ok I looked at your file and noticed that you had this script on the thumbnail:

on (press) {
	_root.gotoAndStop(45);
}

You used _root. which is fine if the swf is by itself since the _root is targeting that swf’s main timeline.

But once you load that swf into the main swf, the _root now targets the main swf’s main timeline and not the external swf’s main timeline.

So in order to correct this problem just use _parent instead so that it will target the external swf’s main timeline even once it’s loaded into the main swf. So your script should now look like this:

on (press) {
	_parent.gotoAndStop(45);
}

Do that to the rest of your thumbnails as well. =)

GREAT! It worked. Thank you verymuch. I though it may have been because the movie was loaded into another move, but I didn’t know the code. You are a lifesaver!

Zach

I’m glad it worked, oh and you might want to do the same to your back buttons as well, they have the same problem. =)