通过单击exe中的一个按钮打开外部Flash projector文件有问题。我已经看到外部文件必须位于fscommand文件夹下。这是密码
private function Fnc(e:MouseEvent):void
{
fscommand("exec", ".\\fscommand\\externalfile.exe");
trace("***button pressed***");
}然而,我发现answer和现在我不确定我是否可以打开一个闪存执行另一个闪存。
附加:我可以成功地打开其他exe,如Windows。所以答案可能是这样,但我不知道。
发布于 2015-07-20 16:03:04
我不知道为什么闪光灯不能打开另一个!当然可以,它就像任何其他的exe文件一样,只是一个exe!
在打开的exe路径中,您只犯了一个小错误,所以您应该写:
private function Fnc(e:MouseEvent):void
{
// flash knows that the exe is in the fscommand dir
fscommand("exec", "externalfile.exe");
trace("***button pressed***");
}看看这个非常简单的例子:

希望能帮上忙。
https://stackoverflow.com/questions/31520126
复制相似问题