Targeting a fame

Hi ppl

I have another problem flash mx
i have three MC’s 1,2,3 and a button for each of them, on pressing each button it makes the apropriate MC play half way then stop at a frame with a stop action.

BUT what i want is to use a if statment somthing like this

script is on MC1 button

tell MC1 to play ();
if MC2 is at frame xx
tell it to play ();

eles do nothing

would be a big help

thanx in advance


mc1.play();
if (mc2._currentframe == xx){
mc2.play();
}

something like that ?

for “xx” must a frame number be specified? If not, then would it mean that if any frame is playing, then do nothing?

:nerd:

xx is the number of the frame yeah

thanks

RvGaTe

your 1st post was what i was looking for

i love this forum it’s slowly helping me learn action scrip with the help of some book