(PHP 5 <= 5.3.0, PECL ming SVN)

SWFMovie::setRateSets the animation's frame rate


void SWFMovie::setRate ( float $rate )

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.



The frame rate, in frame per seconds.

Return Values

No value is returned.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top