If I have a Global Variable
[SIZE=2]Globalvars.vars.noLoaded which is in many classes
How do I create an event where i detect to see if it reaches a certain number.
[SIZE=2]addEventListener(??, Gvariable);
[SIZE=2][/SIZE][SIZE=2][COLOR=#0033ff][SIZE=2][COLOR=#0033ff]private[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [/SIZE][SIZE=2][COLOR=#339966][SIZE=2][COLOR=#339966]function[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Gvariable(event:Event):[/SIZE][SIZE=2][COLOR=#0033ff][SIZE=2][COLOR=#0033ff]void[/COLOR][/SIZE][/COLOR][/SIZE]
[SIZE=2][COLOR=#0033ff][SIZE=2][COLOR=#0033ff]{[/COLOR][/SIZE][/COLOR][/SIZE]
[SIZE=2][COLOR=#0033ff][SIZE=2][COLOR=#0033ff][/COLOR][/SIZE][/COLOR][/SIZE]
**[SIZE=2][COLOR=#0033ff][SIZE=2][COLOR=#0033ff]}
**[/COLOR][/SIZE][/COLOR][/SIZE][/SIZE][/SIZE]