SWFSprite
..also known as a "movie clip", this allows one to create objects which are animated in their own timelines. Hence, the sprite has most of the same methods as the movie.
$s = new SWFSprite();
s = SWFSprite()
SWFSprite *s = new SWFSprite();
SWFSprite s = newSWFSprite();Create a new SWFSprite object.
$i = $s->add($c);
i = s.add(c)
i = s->add(c);
i = SWFSprite_add(s, c);Add a shape, text, a button, an action, or another sprite to the sprite.For displayable types (shape, text, button, sprite), this returns a handle to the object in a display list.
$s->remove($i);
s.remove(i)
s->remove(i);
SWFSprite_remove(s, i);Remove the object instance from the display list.
$s->nextFrame();
s.nextFrame()
s->nextFrame();
SWFSprite_nextFrame(s);Move to the next frame of the animation.
$s->setFrames($numberOfFrames);
s.setFrames(numberOfFrames)
s->setFrames(numberOfFrames);
SWFSprite_setFrames(s, numberOfFrames);Set the total number of frames in the sprite's animation.
Sprite example
All content Copyright (C) 2000-2002 Opaque Industries except where noted otherwise.