15
Aug
08

[Tutorial] AIR Updater for Flash

Download file : http://www.myflashportal.com/tutorials/air/updater/update.zip
Download sample application : http://www.myflashportal.com/tutorials/air/updater/update.air

SUMMARY
Rejoice brothers and sisters! I had finally figured out the mystery of updating your Adobe AIR app that is built using Flash! Thank god through all the reference provided. But though Adobe announced that there is a framework for AIR, but they weren’t plan it for Flash, only for HTML/Javascript and Flex Flavour. I had a quick look on it, it’s really simple, and fast. Unlike the old time where we need to go through the pain of Updater class.

TUTORIALS
Coming soon. Working now. Will write when go home, you can have a quick look on the file, leave a comment or something if you have something that you are not sure :) . It’s pretty straightforward.

  1. Create an app, give it a version number
  2. Edit the versions.xml, put in the appropriate details
  3. Upload it on the server and see the magic
  4. Make sure that the version number for your app on the server is DIFFERENT from the one you are testing locally to avoid problem arising.

EXTRA NOTE
The ZIP file provided is created with intention that you can see the update in action, hence the version 1.0 on the fla file and the versions.xml (on myflashportal server) is 1.1.

I did not provide the Digital Certification file because you can create it on your own. I will provide a more detail when I get back.


2 Responses to “[Tutorial] AIR Updater for Flash”


  1. 1 bhatushai Aug 20th, 2008 at 8:39 pm

    nice tut.. Isn’t AIR apps can be auto updated when there is a internet connection detected?i think it use Local connection object. i could be wrong but i think i saw it somewhere.will update if i find or remember where the site is. :D

  2. 2 manmeng Aug 20th, 2008 at 11:39 pm

    thanks man, my bad for not adding back the tutorial yet. been too busy -_-
    anyway about the updating in AIR. There’s been confusion and I think Adobe lazy to really clarify it.

    The auto-update thing will happen only for the ‘player’ itself only, while the ‘application’ still needs some configuration for the auto-update to be possible, involving server-client side programming. But of course after a lot of trial and error, the one above is the easiest with the less fiddling on the server side, only 1 xml file. :D

Leave a Reply

You must login to post a comment.