i had some memory problems using this library, it often crashed.
depending on the complexity of your animation it might also be an option to simple load an array of image and play one image after another... works just fine.
thats a simple example in german, but should be easy to understand