Forum und email

SWFMovie->setRate()

(PHP 4 >= 4.3.3)

SWFMovie->setRate() — Sets the animation's frame rate

說明

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.

參數

rate

The frame rate, in frame per seconds.

Return值

無回傳值。