Quantcast
Viewing all articles
Browse latest Browse all 2954

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

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.


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>