Screen object
371
screen.name
Availability
Flash MX 2004.
Usage
screen.name
Description
Read-only property; a string that represents the name of the screen.
Example
The following example checks to see if the current document allows screens (because it is a
slide or form document). Then, it assigns the
name
value of the first child screen in the array
to the
myName
variable and opens the Output panel to show the name of the screen:
var myChildren = new Array();
if(fl.getDocumentDOM().allowScreens) {
var myName =
fl.getDocumentDOM().screenOutline.rootScreen.childScreens[0].name;
fl.trace("The name of the screen is "+". ");
}
screen.nextScreen
Availability
Flash MX 2004.
Usage
screen.nextScreen
Description
Read-only property; an object that represents the next peer screen in the parent’s
childScreens
array. That is,
screen.NextScreen
is found by moving down an array of
child screens to the next screen in the array. See
screen.prevScreen
.
If there isn’t a peer screen, the value is
null
.
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...