PHP Manual
Prev |  | Next

# SWFSprite->setframes

(unknown)

SWFSprite->setframes -- Sets the total number of frames in the animation.

## Description

``void swfsprite->setframes` (int numberofframes)`

Warning
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change in a future release of PHP without notice. Be warned and use this function at your own risk.

swfsprite->setframes() sets the total number of frames in the animation to `numberofframes`.

Prev | Home | Next
SWFSprite->remove | Up | SWFSprite->nextframe