Extending Flash |
|
|
|
| Objects > Screen object > screen.forceSimple | |||
Flash MX 2004.
screen.forceSimple
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.
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;
|
|
|
|