screenOutline.screens

Availability

Flash MX 2004.

Usage

screenOutline.screens

Description

Read-only property; the array of top-level Screen objects contained in the document (see Screen object).

Example

The following example stores the array of Screen objects in the myArray variable and then displays their names in the Output panel:

var myArray = new Array();
if(fl.getDocumentDOM().allowScreens) {


for(var i in fl.getDocumentDOM().screenOutline.screens) {
    myArray.push(" "+fl.getDocumentDOM().screenOutline.screens[i].name);
}
fl.trace(2"The screens array contains objects whose names are: "+myArray+". ");
}