› get started
› enable log4net
› input typed objects
› BitmapReconstitutor
class com.image.SerializedBitmap { private var __pixels:String; private var __height:Number; private var __width:Number; private var __transparent:Boolean; public function get pixels():String { return ( __pixels ); } public function get height():Number { return ( __height ); } public function get width():Number { return ( __width ); } public function SerializedBitmap( pixels:String, width:Number, height:Number, transparent:Boolean ) { __pixels = pixels; __height = height; __width = width; __transparent = transparent; } }
Object.registerClass( "SerializedBitmap", com.spirograph.image.SerializedBitmap );
Unfortunetly, how you turn a BitmapData into a SerializedBitmap is up to you.