STF.setFrameRate()

Availability

Flash MX 2004 or 8 swf w/ ScreenTimeScreenSaver component + ScreenTime 3.2 / 3.2

Usage

STF.setFrameRate(frameRate:Number) : Void

Parameters

frameRate - New frame rate - frames per second.

Returns

Nothing.

Description

Method; Sets a new animation frame rate. This method can be used to reduce the animation frame rate when a high frame rate is no longer necessary.

Example

The following example changes the animation frame rate to 8 fps.

STF.setFrameRate(8);