SWFMovie::setRate

(PHP 5 <= 5.3.0, PECL ming SVN)
Sets the animation's frame rate
void SWFMovie::setRate ( float $rate )

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.

Returns:

No value is returned.

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.

doc_php
2016-02-24 16:03:51
Comments
Leave a Comment

Please login to continue.