User Guide

Document object 89
The following example displays the Export Movie dialog box and the Export Flash Player dialog
box and then exports the document based on the specified settings:
fl.getDocumentDOM().exportSWF("", true);
The following example displays the Export Movie dialog box and then exports the document with
specified settings:
fl.getDocumentDOM().exportSWF();
document.forceSimple
Availability
Flash MX 2004.
Usage
document.forceSimple
Description
Property; a Boolean value that specifies whether the children of the specified object are accessible.
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 unchecked. If
forceSimple is false, it is the same as the Make Child
Object Accessible option being checked.
Example
The following example sets the areChildrenAccessible variable to the value of the
forceSimple property; a value of false means the children are accessible:
var areChildrenAccessible = fl.getDocumentDOM().forceSimple;
The following example sets the forceSimple property to allow the children of the document to
be accessible:
fl.getDocumentDOM().forceSimple = false;
document.frameRate
Availability
Flash MX 2004.
Usage
document.frameRate
Description
Property; a float value that specifies the number of frames displayed per second when the SWF
file plays; the default is 12. This is the same functionality as setting the frame rate in the
Document properties dialog box (Modify > Document).