Setting global variables within movieclips

I’m working on a Flash game (AS3) and have come to a point where I need to change the value of a global boolean variable from within a movieclip. After searching all over I have yet to find a solution.

Essentially, the problem is that I have a movieclip that contains a section of animation for my game. When this movieclip is told to begin its animation, it checks these global variables to see which of six animations to play. When it finishes any of these animations, I need to set the associated variable and increase the score.

I do have some workarounds, but would like to see if this (what appears to be the most logical solution) is an option. While I’ve been working with AS3 for a few years now, I’ve just recently got into some of the moderately skilled functionality so please be gentle :slight_smile: