Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Execute external exe from projector flash

We have a projector application (.exe) compiled from AS3. How can we start another (external) executable from the projector?

This is the code...it does nothing visible.

//Play ACQ Demo
Acq.addEventListener(MouseEvent.CLICK, clickAcq);
function clickAcq(event:MouseEvent):void {
                flash.system.fscommand("exec",".\\ACQ\\Acq.exe");
                trace("ACQ clicked");
                gotoAndPlay("Main");
}
like image 215
Nick Avatar asked Mar 08 '26 05:03

Nick


1 Answers

The documentation says the program you want to execute should be in an 'fscommand' folder that is next to the projector exe. (You can put a bat file there to start other programs)

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/package.html

Edit: If you want more advanced options you can try a third party tool like http://www.northcode.com/

like image 99
Simon Groenewolt Avatar answered Mar 10 '26 19:03

Simon Groenewolt