SWFMovie->setRate()
(PHP 4 >= 4.3.3)
SWFMovie->setRate() — Sets the animation's frame rate
Description
SWFMovie
void setRate
( int $rate
)
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.
Parameters
- rate
-
The frame rate, in frame per seconds.
Return Values
No value is returned.