Targeting Problem

I currently have a sliding panel MC that opens and closes. When it’s in the closed state, a external movie is being loaded into an empty MC named “Load”. I want it to automatically open when the external movie finishes loading.

This is what I did, I gave the sliding panel MC an instance name of “panels” and I place this action on the first frame of the external movie:

_root.panels.gotoandPlay("open");

I thought by placing that into the first frame of the external movie that it would play the open state of “panels” MC, but it doesn’t.

I’m guessing that there’s a problem with my targetting, but I can’t seem to figure it out. I’ve tried searching the forum for something similar, but no luck. Could someone help me? Thanks in advanced.

Raydred had a similar problem a while back when he loaded a movie in. Here’s a link to the thread:

http://www.kirupaforum.com/showthread.php?s=&threadid=178&highlight=telltarget

I guess the solution was to use tellTarget when targeting loaded movies…

Hope it helps,
Jubs:cowboy:

*Originally posted by electrongeek *
**

_root.panels.gotoandPlay("open");

**

and it could even be as simple as you making sure that you have your syntax correct :

_root.panels.gotoAndPlay("open");

You didn’t have the ‘A’ uppercase. Don’t know if that will help or not, but if anything, you have it now correctly syntaxed out.

Thanks for the replies guys, but still no luck. I thought Rayred’s situation would help solve mine, but it didn’t. As a matter of fact, my situation is the opposite. I have an action inside the loaded movie that is trying to access the “panels” movie that was already on the main movie.

Danno, I don’t think flash is case sensitive, but I tried switching the “a” to “A” and no luck either.

Maybe there’s a better way to do this, but all I want is for the “panels” MC to automatically play after the loaded movie finishes loading, anyone got any other ideas? Please help me. :-\

Nevermind guys, I got it to work, thanks for all the help. =)