Archive for the ‘Snippets’ Category

Duplicate a DisplayObject as a BitMap

Wednesday, May 14th, 2008

In working on a project, I created a simple utility class that has this public static method. This basically takes a DisplayObject, copies it, and adds it to a new Sprite which is then returned to the caller. Simple enough. I'm sure this can be refined or done a different ...

The Obligatory Snippets Post

Monday, December 3rd, 2007

There are a bunch of code snippets that I always forget. In an attempt to organize my life, I'm going to throw them up here. Hopefully Matt will too.