Example
The following example sets the
variable to the value of the
areChildrenAccessible
property; a value of
means the children are accessible:
forceSimple
false
var areChildrenAccessible = fl.getDocumentDOM().forceSimple;
The following example sets the
property to allow the children of the document
forceSimple
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. Setting this property is the same as setting the default frame
rate in the Document Properties dialog box (Modify > Document) in the FLA file.
Example
The following example sets the frame rate to 25.5 frames per second:
fl.getDocumentDOM().frameRate = 25.5;
document.getAlignToDocument()
Availability
Flash MX 2004.
Usage
document.getAlignToDocument()
Parameters
None.
Returns
A Boolean value:
if the preference is set to align the objects to the Stage;
true
false
otherwise.
108
Objects
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers