1 Reply Latest reply on May 25, 2010 11:02 AM by Joe ... Ward

    bundle air.swf in the application, launching other air applications




      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.contentLoaderInfo.addEventListener(Event.INIT, processApplicaitons);
                      _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 ?