screen.parameters
Availability
Flash MX 2004.
Usage
screen.parameters
Description
Read-only property; an array of ActionScript properties that are accessible from the screen
Property inspector.
Example
The following example stores the parameters for the second screen in the outline to the
variable and then assigns the
var parms = fl.getDocumentDOM().screenOutline.screens[1].parameters;
parms[0].value = "some value";
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
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].parentScreen.n
ame;
fl.trace(" The parent screen to "+myCurrent+" is "+myParent+". ");
}
value to the first property:
"some value"
childScreens
is
parentScreen
null
and
properties in
parentScreen
Screen object
parms
, the
253
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?
Questions and answers