how to impress your friends by taking an image snapshot of a flash movie and automatically uploading the jpg to a server in three easy steps

The title for this recipe is a little long, but the use case is straightforward: I want to capture the visual appearance of a movieclip, encode it as a jpg, and then upload it to my server without any user interaction I came to this problem while writing AsUnit tests for my Flash Actionscript 3 [...]

my new favorite flash event handles the mouse out of stage problem

I don’t want to breed ill will by playing Actionscript favorites, but at the moment I definitely like Event.MOUSE_LEAVE a little more than the rest of the flash.events.Event types. I’m working on a piece of functionality in my Flash as3 application that involves replacing the mouse cursor with a custom clip and making another clip [...]

asunit testing with flash cs3 and actionscript 3

Unit tests are supposed to be the first things you write when following an extreme programming or rapid development methodology, but I seldom found the time to bother until recently. On a Flex Data Services project, we needed to interact with a complex and evolving application programing interface. Our coping strategy was to write flexunit [...]