PDA

View Full Version : target mc on main timeline from within mc (MX)



Pjc4real
December 5th, 2002, 09:13 PM
Hey guys. Its me, the "can't-get-used-to-life-without-tellTarget" guy!!!:*(

Ok, sum1 pls explain this 4 me.

I am within a movieclip (on the main timeline)

I want to target ANOTHER movieclip (which is also on the main timeline).

The mc I am trying to target is "box1"

I am using the code as follows:

_root.box1.gotoAndPlay;


Is this wrong, coz its not working???

Thanx guys.....:-\

Pjc4real
December 5th, 2002, 09:21 PM
YAHoooooo!!!1

Solved it!!! Just for the benefit of any other guys stuck with this problem, the syntax I used was:

_root.box1.gotoAndPlay("1");

All I had to do was specify a frame..... is this always the case then, when tageting an MC?