User Guide
374 Objects
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.
name;
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
silent is true, it is the same as having the Make Object Accessible option deselected in the
Accessibility panel. If
silent is false, it is the same as having the Make Object Accessible
option selected in the Accessibility panel.
Example
The following example retrieves the silent value of the object (a value of false means the
object 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;