As an extension to the source code I was tinkering with in the Tricks & Tips section, I have finally made a stable library that allows you to apply animations to a standard ImageGadget.
Using straight-forward commands, this library allows you to apply an animation strip (frames stitched together) to an ImageGadget, as well as pausing, playing, stopping, setting the speed of the animation.
What's Included
- 2 Different Variations of the UserLibrary for Windows 32bit Platform, which are:
Standard - Using standardized commands (ApplyImageGadgetAnimation) for PureBasic 4.50 and above... (Enables any number of frames to be applied)
Prefixed - With simplified commands, prefixed with a "AIG_" (i.e. AIG_ApplyAnimation) for PureBasic 4.50 and above...
- Source code to enable you to easily tailbite the library to work with your compiler for both call-types.
- Documentation in the form of a CHM file.
- Documentation in the form of html files, and a snazzy index page... which isn't so snazzy, as I hand-made it.
- Include file, in case the userlibs fail.
- Userlib compilation sources, so you can easily build a userlib for your platform, with no hassle.
- An Example.
- A few little animation strips to play with.
Revisions
1.0 Beta 2 - Re-built the <4.50 libraries on PureBasic 4.41 in the hope that it supports previous compilers better than the initial release that gave errors.
1.0 Beta 3 - After the problems of including this library in previous versions of Purebasic before 4.41, the Source Code has been refined, and has been included in the package as an include file.
1.0 Beta 4 - Fixed a very basic mistake in the Include File, which was the Include containing the Init and Kill procedures, which would only be applicable if being made into a userlibrary.
1.0 Final - Fixed the source code for better integration as a include file (as a few functions were still made with building as a userlib in mind...), help file updated, and html help provided.
Download
You can download the 1.0 Final release here: http://www.mediafire.com/file/ehmynnmgw ... 32_src.zip
Please report any bugs, feature requests, or general usage experiences here

Thanks,
Env