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

Varoitus! Tämä funktio on EKSPERIMENTAALINEN. Tämän funktion ominaisuudet, käyttäytyminen, parametrit ja nimi voivat muuttua varoituksetta seuraavissa PHP versioissa.

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.