Skip to main content
December 8, 2013
Question

[AIR + AS3] How to restart native desktop AIR application?

  • December 8, 2013
  • 0 replies
  • 728 views

Hello,

I develop AS3+Air application on desktop. I have problem with restart feature. Is it possible to do it without making externall app which only load a main swf file?

I found only one code solution.

    var mgr:ProductManager = new ProductManager("airappinstaller");

                              SmartLogManager.info(NativeApplication.nativeApplication.applicationID);

                              SmartLogManager.info(NativeApplication.nativeApplication.publisherID);

 

                  mgr.launch(NativeApplication.nativeApplication.applicationID + " " + NativeApplication.nativeApplication.publisherID);

                              NativeApplication.nativeApplication.exit();

but this only close app, no restart.

This topic has been closed for replies.