Actionscript 3.0 Discovery – A “FacePalm” Moment
by Paolo on May.15, 2009, under Experiments, Programming

I just discovered the “Bitmap” and “BitmapData” classes in Actionscript 3.0 from this blog tutorial on FlepStudio.
Here is an example of what his tutorial and sourcecode looks like:

Actionscript 3.0 - Bitmap and BitmapData Tutorial
This class could have saved a ton of performance and speed in Strike Eagle. In Strike Eagle, the moving background is a series of movieclips placed side-by-side and continually scaled which is a huge performance hit in the system. It would have performed so much faster if I was simply blitting onto a bitmap.
Also, all the particle effects in Space ROX could have used the bitmap treatment saving tons of processing power and reducing the total number of movieclips.