PDA

View Full Version : Tell target PROBLEMS!!!! SIG!



barzagus
May 9th, 2002, 11:53 AM
Ok... This is my problem... Please Fast Reply I REALLY NEEED!

I've a swf... we ca call it as A.

In A I've maked a level where I load others SWF whith Load Movie.. I call this second SWF as B.

In B there is a movie clip in the root timeline. it name is C.

In the root rimeline of B there is anothere mouvieclip called D.

Thees are the elements... where is the problem?
At the and of D animation I've to make a telltarget to control the movie clip C.
The problem is that, when D arrived at the and of the animation don't telltarget C... so the animation don't starts and sops there.
I don't know why.... How can I control C by D?!?!?!?

tellTarget ("/C") {
gotoAndPlay (2);
}

For example... this don't work.

tellTarget ("_root.C") {
gotoAndPlay (2);
}

and this don't work too...

Please I NEEED a FAST, VERY FAST REPLY

I am not Jubba
May 9th, 2002, 12:41 PM
if you are putting this in the timeline of D then put

_root.C.gotoAndPlay(2)


it works, I tried it. If it doesn't work then make sure you have the correct instance names on the MOVIEclips

barzagus
May 9th, 2002, 01:17 PM
Tanks you ... but it don't work...

The action that you give me work in the A root timeline and in the A movie clip timeline but don't in the b root or clip timeline.
I don't know why you don't have this problem!
Even I've to make something like _level1.... etc?

If you think that the problem is in the istance name I tell you that it isn't, I've check it and it is all right.

barzagus
May 9th, 2002, 01:38 PM
I'v to use the command "with"???
(I don't know how it work)

I am not Jubba
May 9th, 2002, 02:10 PM
try changing the _root. to _parent.

sorry about that, I didn't really read thru your original question, I didn't realize that C and D were nested in B. When they are nested you have to use _parent instead of _root.
It should work, this one worked for me when they were nested.

barzagus
May 9th, 2002, 02:35 PM
YES YES YES YES YES YES!!!!!!!!!!
IT WORK!!!!!!!!
GREAT!!!!!
TANK'S A LOT FOR YOUR SUPPORT.... NOW I CAN FINISH THE SITE.

YES!!!!!!!!!!

I am not Jubba
May 9th, 2002, 05:17 PM
no problem. If you need anything else, just post in here and I'll try to help.