Quick Tip: How to Export Flash to PNG with HYPE

With Flash you can create some awesome code generated graphics. Often you’d like to save these graphics as an image, so you can edit them afterwards with image editing software or just showcase them. We’ll use the HYPE framework from Joshua Davis and Branden Hall to save our code-generated graphics as a PNG.

View Screencast

Code

Here's the code, in class form so you can use it whether you're developing with Flash or Flex: