Quantcast
Viewing all articles
Browse latest Browse all 21156

fscommand "exec" from AIR

Dear,

i need to run exe file from air file, i know only how to run exe from Projector file.

 

my code:

 

import flash.system.fscommand;

 

runBtn.useHandCursor = true;

runBtn.buttonMode = true;

runBtn.addEventListener( MouseEvent.CLICK, runExe);

 

function runExe(event:MouseEvent ):void {

fscommand ("exec", "TestConsole.exe");

}


Viewing all articles
Browse latest Browse all 21156

Trending Articles



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