# loadMovie/TellTarget Problem!

**URL:** <https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142>\
**Category:** flash\
**Created:** [February 9, 2003, 5:25pm UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142 "2003-02-09T17:25:08Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkfx](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@darkfx](https://forum.kirupa.com/u/darkfx)\
**Post date:** [February 9, 2003, 5:25pm UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/1 "2003-02-09T17:25:08Z")

</div>

Hi Guys,  
I am having an issue with the following code executed in the main timeline:

\_root.movHead.loadMovie(“dfxHead.swf”);  
movHead.gotoAndStop(“StopHere”);  
stop();

Is there a reason why the movie loads but the “gotoAndStop” doesn’t work?

P.S. the FrameLabel is valid in the loaded movie.

Thanks in advance

---

<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:** [February 9, 2003, 6:24pm UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/2 "2003-02-09T18:24:07Z")

</div>

post your fla so we can check it out

Grim

---

<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:** [February 10, 2003, 2:08am UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/3 "2003-02-10T02:08:48Z")

</div>

The FLA file should be attached.

Thanks a million.

---

<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:** [February 10, 2003, 2:20am UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/4 "2003-02-10T02:20:13Z")

</div>

Here is the file to be loaded

---

<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:** [February 10, 2003, 3:30am UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/5 "2003-02-10T03:30:11Z")

</div>

Can anyone help me with my crippling dilemma???

---

<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:** [February 10, 2003, 3:32am UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/6 "2003-02-10T03:32:16Z")

</div>

Read thru this post. Raydred had the same problem. Apparently he had to use tellTarget to get it to work. the dot-syntax method would not work for a loaded movie:

[http://www.kirupaforum.com/showthread.php?s=&threadid=178&highlight=tellTarget](http://www.kirupaforum.com/showthread.php?s=&threadid=178&highlight=tellTarget)

---

<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:** [February 10, 2003, 4:05am UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/7 "2003-02-10T04:05:33Z")

</div>

AHHHH!!! STILL NOT WORKING!!!

I tried the fix from the above link, but it is still not working!

Any other ideas?, I am loosing sleep over this glitch!

Thanks

---

<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:** [February 10, 2003, 4:36am UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/8 "2003-02-10T04:36:14Z")

</div>

Thats really weird. I have it so that the code will work when its on a button, but when the same code is placed in the timeline, it doesn’t work… We’ll have to wait for someone else to help fix this. Get some sleep, and someone will probablay have an answer in the morning…

---

<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:** [February 10, 2003, 4:49am UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/9 "2003-02-10T04:49:21Z")

</div>

Thanks so much for trying anyhow; well… the problem still exists and i tried using tellTarget, and with() both in the timeline and within an onClipEvent, and still no go.

Get this though, with the following code, the “alpha” works but the “stop();” wont?!?!? am i loosing it?

onClipEvent (load) {  
loadMovie(“dfxHead.swf”, \_root.movHead);  
tellTarget(\_root.movHead) {  
\_alpha = 50;  
stop();  
}  
}

---

<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:** [February 11, 2003, 3:19am UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/10 "2003-02-11T03:19:56Z")

</div>

Can anyone help me with my problem?

---

<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:** [February 11, 2003, 3:23am UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/11 "2003-02-11T03:23:43Z")

</div>

onClipEvent (load) {  
loadMovie(“dfxHead.swf”, \_root.movHead);  
tellTarget(\_root.movHead) {  
\_alpha = 50;  
stop();  
}  
}

tellTarget is like Flash 4 syntax… time for updating.

onClipEvent (load) {  
\_root.moveHead.loadMovie(“dfxHead.swf”);  
\_root.moveHead.\_alpha = 50  
\_root.moveHead.stop()  
}

Although putting a stop action in the first frame of your loaded movie will automatically stop it, so there would be no needs for the stop() action in there if you put it on the first frame of your loaded movie.

---

<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:** [February 11, 2003, 3:37am UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/12 "2003-02-11T03:37:39Z")

</div>

The way I had it with TellTarget the movie loaded, and the alpha worked, only the stop didn’t. Nothing at all happened with the code you posted.

Thanks for your suggestion anyhow. 🙂

---

<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:** [February 11, 2003, 3:52am UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/13 "2003-02-11T03:52:53Z")

</div>

Did you try putting the stop() action on the first frame of your loaded animation instead of putting it on the buttons script?

---

<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:** [February 11, 2003, 3:58am UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/14 "2003-02-11T03:58:36Z")

</div>

Ok, I just downloaded your example files, and added a stop() action to the frame with the label “go” and it worked instead of calling it with AS as you were.

Weird how it does work adding the stop action to the frame and not the AS though.

Hmmmm 😏

---

<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:** [February 11, 2003, 6:09am UTC](https://forum.kirupa.com/t/loadmovie-telltarget-problem/13142/15 "2003-02-11T06:09:16Z")

</div>

I tried that earlier, and yes it works in the actual file but not through AS.

Thanks anyhow. Does anyone have any idea? it is really bugging me out…
