MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 371

Extending flash
Table of Contents

Advertisement

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
to the
variable and opens the Output panel to show the name of the screen:
myName
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 "+myName+". ");
}
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
array. That is,
childScreens
child screens to the next screen in the array. See
If there isn't a peer screen, the value is
name
screen.NextScreen
screen.prevScreen
.
null
value of the first child screen in the array
is found by moving down an array of
.
Screen object
371

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?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents