views:

10

answers:

0

Hi

The Adobe AIR documents tell me (I can't find the exact page again!) that I can download the air.swf that you normally call from http://airdownload.adobe.com/air/browserapi/air.swf. I have done this and load it in my own 'badger' script.

Base reference: http://livedocs.adobe.com/flex/3/html/help.html?content=distributing_apps_3.html

After loading, the first call to air.getStatus() works and I see a correct "installed" or "available" based on whether my non-internet connected client has AIR or not. I can also run air.installApplication() and air.launchApplication(). But whenever I run air.getApplicationVersion() the callback function always receives "null". The moment that I load the air.swf from adobe.com everything is perfect so I think the code is fine.

I suppose it must be something to do with the fact that this function is using a callback wheras the others don't.

My purpose with this is to be able to install and/or run an AIR application for non-internet connected computers. Does anyone have any advice?

Thanks Adrian

related questions