/usr/lib/perl5/SWF/Sprite.pm is in libswf-perl 1:0.4.4-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | # ====================================================================
# Copyright (c) 2000-2001 by Soheil Seyfaie. All rights reserved.
# This program is free software; you can redistribute it and/or modify
# it under the same terms as Perl itself.
# ====================================================================
# $Author$
# $Id$
package SWF::Sprite;
use SWF();
use strict;
@SWF::Sprite::ISA = qw(SWF::MovieClip);
$SWF::Sprite::VERSION = $SWF::VERSION;
1;
__END__
=head1 NAME
SWF::Sprite - Sprite (MovieClip) Class
=head1 SYNOPSIS
use SWF::Sprite;
my $sprite = new SWF::Sprite();
=head1 DESCRIPTION
SWF::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.
=head1 METHODS
=over 4
=item new SWF::Sprite();
Returns an SWF::Sprite object.
=item $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.
=item $sprite->remove($displayItem);
Removes $displayItem from the display list.
=item $sprite->nextFrame();
Move to the next frame of the animation.
=item $sprite->setFrames($i);
Sets total number of $sprite frames to $i
=item $sprite->labelFrame($name);
Sets frame name to $name
=back
=head1 AUTHOR
Soheil Seyfaie (soheil@netcom.ca).
=head1 SEE ALSO
SWF, SWF::MovieClip, SWF::Button, SWF::DisplayItem, SWF::Shape, SWF::Sprite, SWF::Movie
=cut
|