How to restart a standalone Adobe Air/Flex application
How can I get a standalone Adobe Air/Flex application to restart itself?
It doesn't work with the suggested solution on: http://www.colettas.org/?p=267.
Any help would be great,
Thanks.
cloudwinds
2014-07-18
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22


5991 views 2 answers
Post My Answer
0
package{ import mx.core.Application; import mx.core.WindowedApplication; import adobe.utils.ProductManager; public function reboot():void { var app:WindowedApplication = WindowedApplication(Application.application); var mgr:ProductManager = new ProductManager("airappinstaller"); mgr.launch("-launch " + app.nativeApplication.applicationID + " " + app.nativeApplication.publisherID); app.close(); }}A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22