Archive for the ‘Snippets’ Category

Snippet: Convert milliseconds to a time code string (00:00:00)

Wednesday, May 26th, 2010



AS3: Stopping All Timeline Animations

Thursday, February 5th, 2009

I haven't posted in months for good reason. I've been involved in a pretty large project at Almighty that led to many late nights. All in all though, the end product turned out to be pretty awesome. I'll post something more on it later. Until then, I hope to ...

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.