Sprite Animation in Flex/AS3

The animation of the sprite (animated image made of multiple frames) requires the writing of custom classes. AnimationSheet.as for the storage of the sprite sheet on top of the screen. AnimationClip.as for the management of the animation sequence. The former knows how to retrieve the bitmapData for any frame in the animation. The later moves the playhead on the animation.

The movement from left to right can be done with Flex built-in move effect