I was wondering how you write code to ask what frame an MC is in.
--------
movie = instance name of MC
if(_root.movie/*are you in frame1?*/){
}
--------
Any help is always appreciated, thanks
jahü
Printable View
I was wondering how you write code to ask what frame an MC is in.
--------
movie = instance name of MC
if(_root.movie/*are you in frame1?*/){
}
--------
Any help is always appreciated, thanks
jahü
Code:movie = "someName";
curFrame = _root[movie]._currentFrame;
if (curFrame == 2) {
// in frame 2
trace ("frame 2");
}