Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 515 Bytes

File metadata and controls

22 lines (12 loc) · 515 Bytes

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;