kmx > Win32-GUI-1.11 > Win32::GUI::Animation

Download:
Win32-GUI-1.11.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

Win32::GUI::Animation - Create and manipulate animation controls

DESCRIPTION ^

The Animation control displays an AVI animation. To load an AVI file you can use the Open() method; you can then use Play() to start the animation (note it will start automatically with the -autoplay option), Stop() to stop it, and Seek() to position it to a specified frame.

METHODS ^

Common methods apply to most windows, controls and resources.

new

new(PARENT, %OPTIONS)

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.

See also the common options.

Close

Close()

Closes an AVI clip and displays its first frame in an animation control

Open

Open(FILE)

Opens an AVI clip and displays its first frame in an animation control.

OpenEx

OpenEx(FILE,[INSTANCE=NULL])

Opens an AVI clip from a resource in a specified module and displays its first frame in an animation control.

Play

Play([FROM], [TO], [REPEAT])

Plays an AVI clip in an animation control.

Seek

Seek(FRAME)

Directs an animation control to display a particular frame of an AVI clip.

Stop

Stop()

Stops playing an AVI clip in an animation control.

EVENTS ^

Common events apply to most windows and controls.

Start

Start()

Sent when the AVI clip has started playing.

Stop

Stop()

Sent when the AVI clip has stopped playing.

VERSION ^

Documentation for Win32::GUI v1.11 created 08 Nov 2014

This document is autogenerated by the build process. Edits made here will be lost. Edit docs/per_package.tpl instead.

SUPPORT ^

Homepage: http://perl-win32-gui.sourceforge.net/.

For further support join the users mailing list from the website at http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users. There is a searchable list archive at http://sourceforge.net/p/perl-win32-gui/mailman/perl-win32-gui-users/.

COPYRIGHT and LICENCE ^

Copyright (c) 1997..2014 Aldo Calpini. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: