Back to the Packages
Constructor
new Win32::GUI::Animation(PARENT, %OPTIONS)
Methods
Close()
Open(FILE)
Play([FROM], [TO], [REPEAT])
Seek(FRAME)
Stop()
Creates a new Animation object; can also be called as PARENT->AddAnimation(%OPTIONS). Class specific %OPTIONS are:
-autoplay => 0/1 (default 0) starts playing the animation as soon as an AVI clip is loaded -center => 0/1 (default 0) centers the animation in the control window -transparent => 0/1 (default 0) draws the animation using a transparent background
Closes the Open()ed AVI file.
Open(FILE) Opens the specified AVI file in the Animation control; note that the AVI file must not contain sound data. Play([FROM], [TO], [REPEAT]) Plays the animation (eventually from the FROM frame to the TO frame) looping it REPEAT times. Defaults are FROM 0 (the first frame) to -1 (the last frame) and REPEAT -1 (loop forever) Seek(FRAME) Positions the AVI file to the specified FRAME. Stop() Stops the animation currently playing.
Opens the specified AVI file in the Animation control; note that the AVI file must not contain sound data.
Play([FROM], [TO], [REPEAT]) Plays the animation (eventually from the FROM frame to the TO frame) looping it REPEAT times. Defaults are FROM 0 (the first frame) to -1 (the last frame) and REPEAT -1 (loop forever) Seek(FRAME) Positions the AVI file to the specified FRAME. Stop() Stops the animation currently playing.
Plays the animation (eventually from the FROM frame to the TO frame) looping it REPEAT times. Defaults are FROM 0 (the first frame) to -1 (the last frame) and REPEAT -1 (loop forever)
Seek(FRAME) Positions the AVI file to the specified FRAME. Stop() Stops the animation currently playing.
Positions the AVI file to the specified FRAME.
Stop() Stops the animation currently playing.
Stops the animation currently playing.
2 POD Errors
The following errors were encountered while parsing the POD:
You can't have =items (as at line 55) unless the first thing after the =over is an =item
You can't have =items (as at line 78) unless the first thing after the =over is an =item
To install Win32::GUI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::GUI
CPAN shell
perl -MCPAN -e shell install Win32::GUI
For more information on module installation, please visit the detailed CPAN module installation guide.