Search code examples
actionscript-3gifbitmapdata

as3 GIFPlayer displays incorrectly


I'm using the GIFPlayer class that I found here: http://code.google.com/p/as3gif/

The gif loads but not properly.

It shows all the frames in a sequence without removing the previous frame.

Therefore, by the end of all frames, I can see all the frames shown on the screen.

At this point all frames disappear and it all starts again. I should say that it behaves like that with 90% of the gifs I tried. It does work nicely with the other 10%, including the diego.gif that comes as an example.

Any advice?


Solution

  • I am not aware of your particular issue, but try to use Flash-Animated-GIF-Library library. It is more current and is more optimized (used it in my project, gif decoding speed is greater).

    Flash-Animated-GIF-Library