Query: swf::sprite
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
.::SWF::Sprite(3pm) User Contributed Perl Documentation .::SWF::Sprite(3pm)NAMESWF::Sprite - Sprite (MovieClip) ClassSYNOPSISuse SWF::Sprite; my $sprite = new SWF::Sprite();DESCRIPTIONSWF::Sprite allows you to add animated objects to your Fash movies. You may use SWF::MovieClip instead of SWF::Sprite (i.e. SWF::Sprite inherits all it's methods from SWF::MovieClip). In other words: SWF::Sprite is deprecated! Do NOT use anymore.METHODSnew SWF::Sprite(); Returns an SWF::Sprite object. $displayItem = $sprite->add($s); Add $s to the $sprite object and returns an SWF::DisplayItem object, i.e. $displayItem . $s may be an SWF::Shape, SWF::Text, SWF::Button, or another sprite object. $sprite->remove($displayItem); Removes $displayItem from the display list. $sprite->nextFrame(); Move to the next frame of the animation. $sprite->setFrames($i); Sets total number of $sprite frames to $i $sprite->labelFrame($name); Sets frame name to $nameAUTHORSoheil Seyfaie (soheil@netcom.ca).SEE ALSOSWF, SWF::MovieClip, SWF::Button, SWF::DisplayItem, SWF::Shape, SWF::Sprite, SWF::Movie perl v5.14.2 2011-10-26 .::SWF::Sprite(3pm)