..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.
SWFSprite_remove(s, i);Remove the object instance from the display list.
SWFSprite_nextFrame(s);Move to the next frame of the animation.
SWFSprite_setFrames(s, numberOfFrames);Set the total number of frames in the sprite's animation.
back to index
All content Copyright (C) 2000-2002 Opaque Industries except where noted otherwise.