The AIR Application


NativeApplication represents your AIR application. It belongs to the flash.desktop package and inherits from EventDispatcher. It is a singleton automatically created when the application launches. You can get a reference to it via the static property NativeAp plication.nativeApplication.

NativeApplication dispatches application-specific events such as invoking and exit ing and has application-specific properties such as icon and systemIdleMode. Some of its properties, created for AIR on the desktop, are not relevant to the mobile environment, such as activeWindow and openedWindows, because there are no multiple windows in this environment.