Sets the animation's frame rate

SWFMovie::setRate

(PHP 4 >= 4.3.3)

SWFMovie::setRateSets the animation's frame rate

Description

void SWFMovie::setRate ( float $rate )
Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

Sets the frame rate to the specified rate.

Animation will slow down if the player can't render frames fast enough- unless there's a streaming sound, in which case display frames are sacrificed to keep sound from skipping.

Parameters

rate

The frame rate, in frame per seconds.

Return Values

No value is returned.


Customers Area | Contact us | Affiliates