I have 2 air applications which need to be installed on users machine. From one application I need to check if the other application is installed or not. If it is installed, need to launch that application else install that application...
I am using following code to do that.. which works fine..
_loader = new Loader();
var loaderContext:LoaderContext = new LoaderContext();
loaderContext.applicationDomain = ApplicationDomain.currentDomain;
_loader.load(new URLRequest("http://airdownload.adobe.com/air/browserapi/air.swf"), loaderContext);
My question is,
Can I bundle air.swf within the air applications, so that this works in offline mode when the user is not connected to the internet ?
Any thoughts ?
It might work (I'm not really sure), but it definitely isn't supported. Adobe reserves the right to make changes to how the air.swf program, and the related infrastructure, works -- which could break you app at any time.