Global

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.

Summary
GlobalThe ‘Global’ class houses commonly used data globally throughout an application.
Variables
NULL_INDEXA value for representing a null index.
c_objStageHolds a reference to the stage.
Functions
GlobalConstructor.
Properties
stageGets a reference to the stage.
stageSets a global reference to the stage.

Variables

NULL_INDEX

public static var NULL_INDEX: int

A value for representing a null index.

c_objStage

private static var c_objStage: Stage

Holds a reference to the stage.

Functions

Global

public final function Global()

Constructor.  <p> NOTE: This class is not meant to be instantiated.

Properties

stage

public static function get stage():Stage

Gets a reference to the stage.

Returns

A reference to the stage. 

stage

public static function set stage(objStage: Stage):void

Sets a global reference to the stage.

Parameters

param objStage A reference to the stage. 
public static var NULL_INDEX: int
A value for representing a null index.
private static var c_objStage: Stage
Holds a reference to the stage.
public final function Global()
Constructor.
public static function get stage():Stage
Gets a reference to the stage.
Close