Example
The following example displays the name of the screen that contains the screen
var myParent:mx.screens.Screen = myScreen.rootScreen;
Screen.rootScreen
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myScreen.rootScreen
Description
Property (read-only); returns the screen at the top of the screen hierarchy that contains
Example
The following example displays the name of the root screen that contains the screen
var myRoot:mx.screens.Screen = myScreen.rootScreen;
Screen class (Flash Professional only)
.
myScreen
.
myScreen
.
myScreen
667
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers