SWFSprite::setFrames

(PHP 4 >= 4.0.5)

SWFSprite::setFramesSets the total number of frames in the animation

Description

void SWFSprite::setFrames ( int $number )
Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

swfsprite::setframes() sets the total number of frames in the animation to numberofframes.

Return Values

No value is returned.