⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sprite.pm

📁 Ming is a library for generating Macromedia Flash files (.swf), written in C, and includes useful ut
💻 PM
字号:
# ====================================================================# 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: krechert $# $Id: Sprite.pm,v 1.4 2008/04/28 10:09:24 krechert Exp $package SWF::Sprite;use SWF();use strict;@SWF::Sprite::ISA = qw(SWF::MovieClip);$SWF::Sprite::VERSION = $SWF::VERSION;1;__END__=head1 NAMESWF::Sprite - Sprite (MovieClip) Class=head1 SYNOPSIS use SWF::Sprite; my $sprite = new SWF::Sprite();=head1 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).=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 AUTHORSoheil Seyfaie (soheil@netcom.ca).=head1 SEE ALSOSWF, SWF::Button, SWF::DisplayItem, SWF::Shape, SWF::Sprite, SWF::Movie, .=cut

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -