screen.prevScreen
Availability
Flash MX 2004.
Usage
screen.prevScreen
Description
Read-only property; an object that represents the previous peer screen in the parent's
array. If there isn't a peer screen, the value is
childScreens
Example
The following example 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[1].name;
var myNext =
fl.getDocumentDOM().screenOutline.rootScreen.childScreens[1].prevScreen.nam
e;
fl.trace(" The previous screen to "+myCurrent+" is "+myNext+". ");
}
screen.silent
Availability
Flash MX 2004.
Usage
screen.silent
Description
Property; a Boolean value that specifies whether the object is accessible. This is equivalent to the
inverse logic of the Make Object Accessible setting in the Accessibility panel. That is, if
, it is the same as having the Make Object Accessible option deselected in the Accessibility
true
panel. If
silent
the Accessibility panel.
Example
The following example retrieves the
is accessible):
var isSilent = fl.getDocumentDOM().screenOutline.screens[1].silent;
The following example sets the object to be accessible:
fl.getDocumentDOM().screenOutline.screens[1].silent = false;
254
Chapter 3: Objects
is
, it is the same as having the Make Object Accessible option selected in
false
silent
. See also
null
value of the object (a value of
screen.nextScreen
silent
means the object
false
.
is
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?