2 Replies Latest reply on Sep 2, 2010 8:18 AM by stelviohammer

    Update available dialog box appears behind app window


      We have an app that checks for an update each time it launches. This has worked quite well until our latest rev, which included an upgrade to Flash Builder 4.0, the 4.0 sdk, and the AIR 2.0 overlay.


      Now the update dialog box appears behind our application window, which means our users are not going to see it.


      Has anyone else seen this problem?


      Our code looks something like this:


              private function initUpdate():void
                  appUpdater = new ApplicationUpdaterUI();
                  appUpdater.configurationFile = new File("app:/update-config.xml");
                  appUpdater.addEventListener(UpdateEvent.INITIALIZED, autoUpdate);




              private function autoUpdate(ev:UpdateEvent):void
                  appUpdater.isCheckForUpdateVisible = false;
                  appUpdater.removeEventListener(UpdateEvent.INITIALIZED, autoUpdate);


      Do I need to try to control the order of the windows? Never had to do that before? Or perhaps "delay" the initialization of the appUpdater() by calling it later in the startup process.


      Any other thoughts are appreciated.


      Kevin S.