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).
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...