Forum und email

SWFMovie->setRate()

(PHP 4 >= 4.3.3)

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

Description

SWFMovie
void setRate ( int $rate )
Warning

Den här funktionen är EXPERIMENTELL. Dess beteende, namnet på den, och allt annat dokumenterat om den här funktionen kan ändras i framtida utgåvar av PHP. Använd den på egen 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.

Parameters

rate

The frame rate, in frame per seconds.

Return Values

No value is returned.