screen.parentScreen
Availability
Flash MX 2004.
Usage
screen.parentScreen
Description
Read-only property; an object that represents the parent screen. If
screen is a top-level screen.
Example
The following example stores the values for the
in variables and then shows those values and their parent/child relationship in the Output
panel:
if(fl.getDocumentDOM().allowScreens) {
var myCurrent =
fl.getDocumentDOM().screenOutline.rootScreen.childScreens[1].name;
var myParent =
fl.getDocumentDOM().screenOutline.rootScreen.childScreens[1].parentScree
n.name;
fl.trace(" The parent screen to "+myCurrent+" is "+myParent+". ");
}
screen.prevScreen
Availability
Flash MX 2004.
Usage
screen.prevScreen
Description
Read-only property; an object that represents the previous peer screen in the parent's
array. If there isn't a peer screen, the value is
childScreens
screen.nextScreen
.
parentScreen
and
childScreens
parentScreen
. See also
null
is
, the
null
properties
Screen object
373
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers