Advanced AIR – Application UI

Over the next few weeks I am going to blog a number of slightly more advanced features of AIR applications using Flash Professional. After a lot of questions and feedback based on my current AdobeTV series of Flash Downunder, I decided to record a new series showing how to implement a number of the slightly more advanced features. I have recorded the series and it should start to go live soon, however, rather than wait I have decided to post the source files from the series. I have attempted to make the source files very simple and basic so they are easy to follow.

The areas I have covered are:

  • Application UI – including maximize, minimize, exit, drag and resize commands as well as custom menus. The resize command also shows how you can control content when resizing occurs.
  • AIR Updater – how you can make your AIR apps updateable when you release new versions
  • Animated Icons – how you can control the system icons from your app including how to use them to provide user feedback
  • AIR CRUD database – how you can add an internal SQLite database in your AIR app and create, read, update and delete entries using simple SQL queries
  • EncryptedLocalStore – how you can use the encryptedLocalStore to save and read user preferences in your AIR app
  • AIR Badge – how to use the AIR badge to publish your AIR apps on the web

Application UI

First of all is the Application UI example. As I mentioned above, this example shows how to implement the maximize, minimize, exit, resize and drag functions of AIR.

app_ui

It also shows how to create a custom menu for your AIR app.

app_ui_menu

You can download the source files here and also install the example app by clicking on the badge below.

2 Responses to “Advanced AIR – Application UI”

  1. Scott Says:

    Hey,

    I was trying to test this source out in Flash CS4, and its throwing the following errors:

    1046: Type was not found or was not a compile-time constant: NativeWindowBoundsEvent.

  2. paul Says:

    Hey Scott, NativeWindowBoundsEvent is one of the AIR classes. If you set your publish settings to AIR 1.5 you should be fine.
    Let me know if not…

Leave a Reply