Global Variables in ActionScript 3

Although there is no “direct” way to implement global variables in ActionScript 3, as there was in previous AS versions, I found this useful workaround, using a class with a static variable container:

http://greenethumb.com/article/11/global-variables-in-as3

This entry was posted in Flash and tagged . Bookmark the permalink.

Leave a Reply