Drawing in AIR

Use the drawing and layer tools to create a picture on the canvas.

Notes

I wanted to introduce myself to AIR, a new creation by Adobe that offers more control to Flash applications. AIR applications are simply Flash applications that are downloaded and installed by a user rather than viewed online. But AIR applications bring new abilities to Flash such as controlling windows and working with the user’s file system. Naturally I wanted to incorporate a few of the new AIR enhancements into a drawing application I was working on.

The most important of the new functionality for me was being able to save the canvas as a JPEG file on the user’s hard drive and supporting drag-and-drop, which is simply the act of dragging an image file onto the application window and importing it into the canvas. I was able to implement them along with a few other features of AIR like a window menu, a custom icon, and a way to automatically check for updates of the application online.

No Comments »

Comments RSS feed.

Leave a comment