MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 372

Extending flash
Table of Contents

Advertisement

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
variable and then assigns the
var parms = fl.getDocumentDOM().screenOutline.screens[1].parameters;
parms[0].value = "some value";
See also
Parameter object
372
Objects
value to the first property:
"some value"
parms

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents