amatur coding help
Hello... Could some one please explane how I access variables in a frame on the stage with code from a frame within a movieclip?(basically passing variables from a stage frame to a movieclip frame)
Thanks - Aro
Hello... Could some one please explane how I access variables in a frame on the stage with code from a frame within a movieclip?(basically passing variables from a stage frame to a movieclip frame)
Thanks - Aro
you need to use the correct path from one timeline to the other.
if you're trying to access variables on the main timeline (from anywhere that's in the displaylist), you can always use root to reference the main timeline. you'll need to cast it as a movieclip so if you have var1 defined on the main timeline:
MovieClip(root).var1
will reference var1 from any displaylist object.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.