# Targeting Problem

**URL:** <https://forum.kirupa.com/t/targeting-problem/10341>\
**Category:** flash\
**Created:** [December 30, 2002, 1:01am UTC](https://forum.kirupa.com/t/targeting-problem/10341 "2002-12-30T01:01:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eyeinfinitude](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@eyeinfinitude](https://forum.kirupa.com/u/eyeinfinitude)\
**Post date:** [December 30, 2002, 1:01am UTC](https://forum.kirupa.com/t/targeting-problem/10341/1 "2002-12-30T01:01:02Z")

</div>

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:

```php
_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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 30, 2002, 1:06am UTC](https://forum.kirupa.com/t/targeting-problem/10341/2 "2002-12-30T01:06:56Z")

</div>

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](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:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 30, 2002, 3:44am UTC](https://forum.kirupa.com/t/targeting-problem/10341/3 "2002-12-30T03:44:56Z")

</div>

> \*Originally posted by electrongeek \*  
> \*\*

```php
_root.panels.gotoandPlay("open");

```

\*\*

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

```php
_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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 30, 2002, 5:13am UTC](https://forum.kirupa.com/t/targeting-problem/10341/4 "2002-12-30T05:13:40Z")

</div>

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. :-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 30, 2002, 6:28am UTC](https://forum.kirupa.com/t/targeting-problem/10341/5 "2002-12-30T06:28:42Z")

</div>

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