Tag Archives: Bitmap

AS3: QuickHint: Convert BitmapData to ByteArray

While writing my next post, about Facebook and Flash development, I noticed that there is something in my post drafts that I haven’t published yet, so I changed it a bit and here you go. On one of my last posts taking a screenshot with AS3 I’ve explained how to create a snapshot by using [...]

AS3: Take a screenshot of any Displayobject

Ok you want to take a snapshot of a movieclip, sprite, displayobject, shape or just simply the whole stage? That is a simple task to accomplish in AS3. Below a reusable function I wrote while working for one of our clients: private function getBitmapData( target:DisplayObject ) : BitmapData { if ( bd ) { bd [...]