Posted tagged ‘as3’

BitmapMovieClip

March 7, 2008

In some cases in a project, we need to use striped sprites, it means an an animation of bitmaps which has their frames arranged in rows or columns like the examples below:

explode_1.png

water_exp.png

Sometimes the output of some graphic tools are this kind of sprite, for example this explosion generator: http://www.geocities.com/starlinesinc Actionscript do not brings anything built-in to handle this kind of sprites what I called Bitmap MovieClip, so I created a handy class to handle this situations where we need want to create an animation from an array of frames on an image.
The result is something like this:

bmpmovieclip.png

(more…)