User Guide
250 Chapter 3: Objects
screen.description
Availability
Flash MX 2004.
Usage
screen.description
Description
Property; a string that is equivalent to the Description field in the Accessibility panel. The
description is read by the screen reader.
Example
The following example gets the description of the object and stores it in the theDescription
variable:
var theDescription = fl.getDocumentDOM().screenOutline.screens[1].description;
The following example sets the description of the object to "This is Screen 1":
fl.getDocumentDOM().screenOutline.screens[1].description = "This is Screen 1"
screen.forceSimple
Availability
Flash MX 2004.
Usage
screen.forceSimple
Description
Property; a Boolean value that enables or disables accessibility for the object’s children. This is
equivalent to the inverse logic of the Make Child Objects Accessible setting in the Accessibility
panel. That is, if
forceSimple is true, it is the same as the Make Child Object Accessible option
being deselected. If
forceSimple is false, it is the same as the Make Child Object Accessible
option being selected.
Example
The following example stores the value of forceSimple in the areChildrenAccessible
variable (a value of false means the children of the object are accessible):
var areChildrenAccessible =
fl.getDocumentDOM().screenOutline.screens[1].forceSimple
The following example makes the children of the object accessible:
fl.getDocumentDOM().screenOutline.screens[1].forceSimple = false;