loadMovie/TellTarget Problem!

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

post your fla so we can check it out

Grim

The FLA file should be attached.

Thanks a million.

Here is the file to be loaded

Can anyone help me with my crippling dilemma???

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

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

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…

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

Can anyone help me with my problem?

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.

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

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

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 :smirk:

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…