MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 108

Extending flash
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents