frameRate
 
Syntax integer:=GetIconProperty(@"IconTitle", #frameRate)
 
Type Icon property
 
Description  This property indicates the frame rate of a Flash movie as it was originally created in Flash.

You cannot set the frameRate property.
 

Example  These statements check the Flash movie to see if it was originally created with a frame rate of less than 15 frames per second. If the movie's frame rate is slower than 15 frames per second, the second line sets the playBackMode of the sprite so that it can be set to another rate. The third line then sets the sprite's fixedRate property to 15 frames per second.

If GetIconProperty(@"Flash Icon", #frameRate) < 15 then
    SetSpriteProperty(@"Flash Icon", #playbackMode, #fixed)
    SetSpriteProperty(@"Flash Icon", #fixedRate, 15)
end if

To Table of Contents Back to Previous document Forward to next document