SWFMovie::setRate

(PHP 5 < 5.3.0, PECL ming SVN)

SWFMovie::setRateSets the animation's frame rate

说明

SWFMovie::setRate ( float $rate ) : void
Warning

此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担 。

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.

参数

rate

The frame rate, in frame per seconds.

返回值

没有返回值。

User Contributed Notes

There are no user contributed notes for this page.