screenOutline.currentScreen

Availability

Flash MX 2004.

Usage

screenOutline.currentScreen

Description

Property; a Screen object, the currently selected screen (see Screen object).

Example

The following example stores the currentScreen object in the myScreen variable and then displays the name of that screen in the Output panel:

var myScreen = fl.getDocumentDOM().screenOutline.currentScreen;
fl.trace(myScreen.name);