User Guide
372 Objects
Example
The following example first checks to see if the current document is a slide or form, and if it
is, retrieves and shows the sequence of screens in the Output panel:
if(fl.getDocumentDOM().allowScreens) {
var myCurrent =
fl.getDocumentDOM().screenOutline.rootScreen.childScreens[0].name;
var myNext =
fl.getDocumentDOM().screenOutline.rootScreen.childScreens[0].nextScreen.
name;
fl.trace(" The next screen to "+myCurrent+" is "+myNext+". ");
}
screen.parameters
Availability
Flash MX 2004.
Usage
screen.parameters
Description
Read-only property; an array of ActionScript 2.0 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 parms
variable and then assigns the
"some value" value to the first property:
var parms = fl.getDocumentDOM().screenOutline.screens[1].parameters;
parms[0].value = "some value";
See also
Parameter object