mxmlc 命令行中出现未处理的安全错误,但 CS5 或 Flash Builder 4 中未出现
由于某种原因,我能够在 cs5 和 flash builder 4 中构建/发布和运行我的项目,没有任何问题,但是一旦我进入命令行,各种愚蠢的事情就开始发生,这就是其中之一。 mxmlc 无法从命令行正确处理此问题是否有原因?我知道有一个跨域的解决方案,但如果没有这个解决方案,我也相处得很好,这看起来更像是一个错误,而不是实际的项目需求。另外,我使用命令行的原因是因为我需要自动化创建flash项目,所以如果有其他方法,我愿意尝试。
For some reason I am able to build/publish and run my project in cs5 and from inside flash builder 4 without problems, but once I step out to the command line all sorts of stupid things start happening, this being one of them. Is there a reason that the mxmlc is not able to handle this properly from the command line? I know of a solution with the crossdomains, but I've gotten along fine without that and this seems more like a bug than an actual project requirement. Also, the reason I am working with the commandline is because I need to automate the creation of flash projects, so if there is another method, I would be willing to try it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保您使用命令行定位的编译器与您在 Flash CS5 和 Flash Builder 中使用的编译器一样新。这会是一个 AIR 2.7 项目吗?
Be certain that the compiler you target with the command line is as recent as the one you are using with Flash CS5 and Flash Builder. Would this by any chance be an AIR 2.7 Project?