PDA

View Full Version : Passing Variables Frame to MC



spighita
April 9th, 2005, 12:12 AM
Hello:

How do I pass the variable from a Frame to a Movie Clip. Is there anything special?

ie,

Frame 1-2 loop
number=3

I want to pass number 3 to the movie clip
what should I use if the Movie Clip is in the same frame 1-2

Thanks for anyone who helps

eiefai
April 9th, 2005, 12:19 AM
in the MC put this :


onClipEvent(load or enterFrame) {
MC_Var = _root.number;
}

spighita
April 9th, 2005, 12:23 AM
in the MC put this :

Yes, it worked, Thank You

VIVA MEXICO