Matt Kenefick
Contact Me Experiments Blog Portfolio

AIR: Creating an AS3 updater

Here is a simple code that will check a server to see if there are updates to your app. It reads an XML file that contains details like: Version, Name, Release, Changes, Download Link. You can add/remove as you wish. It compares to a set version variable in the kapp class. If it does not match, it shoots out an event that you can monitor.

This is a very simple example. Later I will post an example of:

  • Check server for updates
  • If version is greater, ask to update
  • If yes, download update automatically.
  • Automatically show new app without restarting.

This will let the user very easily update your AIR apps without having to open any AIR files or doing anything manually. You simply say “Update”, and from there.. it downloads, installs, and reopens automatically.

Keep an eye out.

Download Source

Tags: ,

One Response to “AIR: Creating an AS3 updater”

  1. John Says:

    I have downloaded your software. but only get these files/folders… mimetype - fractal - META-INF. I cant get any of these to open in air - i am sure its user error. I could not find any documention either, but have read blogs where ppl are mentioning it. The App looks incredible - nice work. I hate to hassle you - but i couldnt figure it out. PS I am on a mac - not sure if that matters.

    j

Leave a Reply