Article on compiling Air and Flex from the same code base posted to Adobe DevNet
An article of mine, based on a previous blog entry, has been posted to the Adobe AIR Developer Center for Flex. Read about Building Flex and Adobe AIR applications from the same code base. The Adobe Developer Network version goes into more detail and has a pretty UML diagram to make it all sensible. Check it out.
It’s been awhile since I’ve posted anything here. Which ostensibly means I’ve been lazy. However, in reality, I’m busy as ever, and I have several half-finished postings that I hope to post soon on such topics as:
- Using the new goods in .NET 3.5 and Visual Studio 2008 to write a back end for Flex — especially interesting is the new Astoria functionality that will add RESTful web services to your .NET backend.
- An ImageProgressBar component that uses an image and selectively applies visual formatting as progress occurs. In this case, it converts from B&W to color as progress proceeds, or from color to B&W.
- A component for building thumbnails from a directory of images in Adobe AIR. This isn’t as simple as it should be due to processing long operations in the Flash timeline. Don’t worry, I have an event chaining solution that keeps your application responsive while generating thumbnails.
- Summary of all the different ways and technologies that Flex/AIR can access a back end. (This is mostly for my own benefit, since it’s hard to find a complete listing of both Flex and .NET libraries.)
- Code generation with Python, especially useful when using Cairngorm as a framework (I have some scripts that mimics Ruby on Rails generators. Don’t be shy about the command line.)
I’ll get these things polished as I find time, which has been tough these days. I’ll start with one this weekend.


Comment from Kieth
Date: November 2, 2007, 4:59 pm
thanks a lot for doing this! This is exactly what I needed to get me started on a big project that has to function as both a flex app and air app.