How to get current frame number of root timeline from inside a movie clip?
Hello. I am using Adobe Flash pro CS6 and AS3.
Right now, I am trying to make if else statement inside a movie clip.
It's like this. it's inside a movie clip "mc_A" on root.
if(MovieClip(root).currentFrame == 1){
trace("A");
}
else if(MovieClip(root).currentFrame == 100){
trace("B")
}
If I start my swf file, I get a trace message "A", so if statemen works, but trace message B won't appear. What should I do to make this else statement work correctly?
