PDA

View Full Version : Paths to Objects???


Jean Jacques
11-23-2002, 07:31 PM
Ok I've got this:

setProperty ("_root.clip.t_"+ ballup +"_0", _visible, false);

And i want this:

_root.clip.t_3_0.gotoAndStop(4);

actually i want the var ballup where the 3 in the string is but i want to test it first without the var. IT DOESN'T WORK :(

Please help!?

Jean

CyanBlue
11-23-2002, 08:10 PM
This would be the answer you are looking for...
_root.clip["t_" + ballup + "_0"].gotoAndStop(4);

But you have set it to be invisible and you are using gotoAndStop()... Why??? It won't be visible until you reset that property... Isn't it???

Jean Jacques
11-23-2002, 08:21 PM
Thanks!

I knew that if i used "visible, false" it works so it was a sort of test.

Jean