The ‘Global’ class houses commonly used data globally throughout an application. The AS2 equivalent was ‘_global’, however this class is not dynamic. The ‘Global’ class is not meant to be instantiated.
| Global | The ‘Global’ class houses commonly used data globally throughout an application. |
| Variables | |
| NULL_INDEX | A value for representing a null index. |
| c_objStage | Holds a reference to the stage. |
| Functions | |
| Global | Constructor. |
| Properties | |
| stage | Gets a reference to the stage. |
| stage | Sets a global reference to the stage. |
A value for representing a null index.
public static var NULL_INDEX: int
Holds a reference to the stage.
private static var c_objStage: Stage
Constructor.
public final function Global()
Gets a reference to the stage.
public static function get stage():Stage