(PHP 5 <= 5.3.0, PECL ming SVN)
SWFSprite::setFrames — Sets the total number of frames in the animation
$number
   )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.
  
No value is returned.