screenOutline.rootScreen

Availability

Flash MX 2004.

Usage

screenOutline.rootScreen

Description

Read-only property; the first screen in the screen outline. You can use screenOutline.rootScreen as a shortcut for screenOutline.screens[0].

Example

The following example displays the name of the first child of the first screen in the screen outline:

var n = fl.getDocumentDOM().screenOutline.rootScreen.childScreens[0].name;
fl.trace(n);