PDA

View Full Version : targeting a fame



m0fe
June 19th, 2003, 06:13 AM
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

RvGaTe
June 19th, 2003, 07:45 AM
mc1.play();
if (mc2._currentframe == xx){
mc2.play();
}


something like that ?

dezynr
July 3rd, 2003, 04:26 PM
for "xx" must a frame number be specified? If not, then would it mean that if any frame is playing, then do nothing?

:nerd:

RvGaTe
July 3rd, 2003, 04:27 PM
xx is the number of the frame yeah

m0fe
July 4th, 2003, 08:06 AM
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