我通過點擊Flash projector
中的按鈕打開外部exe
文件時出現問題。我已經看到外部文件必須位於文件夾fscommand
下。這是代碼;通過fscommand打開外部exe文件
private function Fnc(e:MouseEvent):void
{
fscommand("exec", ".\\fscommand\\externalfile.exe");
trace("***button pressed***");
}
但是,我發現answer,現在我不知道我可以通過另一個Flash EXE打開一個Flash EXE。
增加: 我可以成功地打開其他exe
就像Windows媒體播放器。所以答案可能是這樣,但我不知道。
您是否必須使用Flash投影儀?與AIR相比非常有限。 – BotMaster
是的不幸的是我不得不使用Flash投影儀。 AIR可能是最後的手段。 – coner
在AIR中調用外部exe文件非常容易,在Flash Projector中始終存在安全沙箱問題。 Flash投影儀對用戶計算機和文件的權限有限。 – BotMaster