Cant spot a but with AS3
hey everyone, not sure why the compiler says i have problem with this line, please help me to figure it out.
im trying to access a movieclip named SubMC at root point, i want to see what frame it is atm.

hey everyone, not sure why the compiler says i have problem with this line, please help me to figure it out.
im trying to access a movieclip named SubMC at root point, i want to see what frame it is atm.

It looks like the problem here is that the root property is a DisplayObject, so it can't reference instances like subMC unless you cast root as a MovieClip. If you switched it to MovieClip(MovieClip(root).subMC).currentFrame it should work though.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.