执行投影机闪光灯的外部exe [英] Execute external exe from projector flash

查看:165
本文介绍了执行投影机闪光灯的外部exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个从AS3编译的投影应用程序(.exe)。如何从投影机启动另一个可执行文件?

$ b

  //播放ACQ演示
Acq.addEventListener(MouseEvent.CLICK,clickAcq);
函数clickAcq(event:MouseEvent):void {
flash.system.fscommand(exec,。\\ACQ\\Acq.exe);
trace(ACQ clicked);
gotoAndPlay(Main);


解决方案

想要执行的文件应位于投影机exe旁边的fscommand文件夹中。 (你可以把bat文件放到那里来启动其他程序)
$ b

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



编辑:如果您想要更高级的选项,您可以尝试第三方工具,如 http://www.northcode.com/


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");
}

解决方案

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/

这篇关于执行投影机闪光灯的外部exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆