Library Watch: Using GIF Images in a Flex application


What is this all about?

GIF images are of two varieties – the plain kind and the animating kind. And It is possible to do very basic animation in GIF images. But you can never embed an animating GIF image in a Flex application. try it if you want.

AS3GIF is a ActionScript library that lets you play and encode animated GIF’s with ActionScript 3.  Here is a piece of code to a sample Flex project that uses AS3GIF to display a Gif Image.

Other things that can be done with this library

You can code for shapes in ActionScript in a framewise sequence and encode them and play them as an image using GIFEncoder class in this library

Usability Perspective

This library is fine, it precisely solves the problem it has taken up to address, but my question is this – How many people actually use Gif Images in Flex applications? IF they do, do they use it as control components’ skins? or as background images? I’m not quite sure.

And oh! Here is the link to the sample project – download the code and copy paste all the files into a FlexBuilder/FlashBuilder project’s source folder – https://github.com/vatsala/FlexGif

Advertisements

About vatsalad

Hi, I'm Vatsala
This entry was posted in Adobe Flex, Code Samples, library watch and tagged , , . Bookmark the permalink.

One Response to Library Watch: Using GIF Images in a Flex application

  1. Pratap says:

    Hi,

    Would you like to review my startup zeole.com ?

    Zeole.com combines blogging with location. You first chose your city, and then start writing. You can get to see lots of others write from all over the world and make lots of pen pals.

    Would you please check it out and if possible write a review?

    thanks

Comments are closed.