找到了解决方案。这里的这个小工具将 swfs 转换为无头可执行文件,并具有一些简洁的功能来访问文件系统并与 flash 文件交互。
http://thesz.diecru.eu/content/flash.php
fscommand("exec","app.exe"); - executes a file which is located in the fscommand subdirectory
fscommand("real_exec","app.exe"); - executes a file which is in the same directory as the executable
fscommand("set_title","Window Title"); - sets the window title
fscommand("quit",""); - exit the flash
fscommand("command","move"); on MouseEvent.MOUSE_DOWN / fscommand("command","mouse_up"); on MouseEvent.MOUSE_UP - drag the window
fscommand("command","resize"); on MouseEvent.MOUSE_DOWN / fscommand("command","mouse_up"); on MouseEvent.MOUSE_UP - resize the window
fscommand("position","save"); / fscommand("position","restore"); / fscommand("position","clear"); - save, restore and clear window position
开发人员非常友好地扩展了命令集
fscommand("position","100x200 300x400"); // position, then size (optional)