1.::SWF::Sprite(3)     User Contributed Perl Documentation    .::SWF::Sprite(3)
2
3
4

NAME

6       SWF::Sprite - Sprite (MovieClip) Class
7

SYNOPSIS

9               use SWF::Sprite;
10               my $sprite = new SWF::Sprite();
11

DESCRIPTION

13       SWF::Sprite allows you to add animated objects to your Fash movies.
14       You may use SWF::MovieClip instead of SWF::Sprite (i.e. SWF::Sprite
15       inherits all it's methods from SWF::MovieClip).  In other words:
16       SWF::Sprite is deprecated! Do NOT use anymore.
17

METHODS

19       new SWF::Sprite();
20           Returns an SWF::Sprite object.
21
22       $displayItem = $sprite->add($s);
23           Add $s to the $sprite object and returns an SWF::DisplayItem
24           object, i.e. $displayItem . $s may be an SWF::Shape, SWF::Text,
25           SWF::Button, or another sprite object.
26
27       $sprite->remove($displayItem);
28           Removes $displayItem from the display list.
29
30       $sprite->nextFrame();
31           Move to the next frame of the animation.
32
33       $sprite->setFrames($i);
34           Sets total number of $sprite frames to $i
35
36       $sprite->labelFrame($name);
37           Sets frame name to $name
38

AUTHOR

40       Soheil Seyfaie (soheil@netcom.ca).
41

SEE ALSO

43       SWF, SWF::MovieClip, SWF::Button, SWF::DisplayItem, SWF::Shape,
44       SWF::Sprite, SWF::Movie
45
46
47
48perl v5.28.1                      2018-11-12                 .::SWF::Sprite(3)
Impressum