Flex MXMLC Ant 任务窃取窗口焦点
有没有人注意到使用 mxmlc ANT 任务(在后台运行)构建 Flex 程序的以下行为:当 MXMLC 任务启动时,它会从当前正在运行的任何应用程序中窃取窗口焦点,然后再次将其返回!这是极具破坏性的。
有没有办法“无头”运行 MXMLC 任务,以便它根本不与窗口系统交互?
我正在 Mac OS X(10.5.8,如果这很重要)和 Flash 4.0.1 上运行(尽管该行为也存在于 3.x 上)。
谢谢!
标记
Has anyone noticed the following behavior building Flex programs using the mxmlc ANT task (running in the background): as the MXMLC task starts, it steals the window focus from whatever application is currently running, and then gives it back again! This is extremely disruptive.
Is there a way to run the MXMLC task "headless" so it doesn't interact at all with the window system?
I'm running on Mac OS X (10.5.8, if that matters), and Flash 4.0.1 (although the behavior existed on 3.x as well).
Thanks!
Mark
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请注意 -compiler.headless-server 选项(http://www.senoscopy.com/flash/tutorials/as3withmxmlc/)
我刚刚尝试在我的 mxmlc ant 任务中将其设置为 true ,它防止了焦点被窃取。 HTH。
Note the -compiler.headless-server option (http://www.senocular.com/flash/tutorials/as3withmxmlc/)
I just tried setting this to true in an mxmlc ant task of mine and it prevented the stealing of focus. HTH.