Flash Builder 4 输出窗口太大
所以问题是,每当我运行 Flash 影片时,浏览器 (Chrome) 中的显示最终都会比浏览器完全最大化时大 30%。实际上,它应该在 800x800px 环境中运行。我尝试过调整舞台大小并将其设置为全屏和正常,但没有效果。然而,尝试使用 mxmcl 通过命令行编译项目(尽管它给出了不同的错误 atm),结果显示窗口的大小正确为 800x800px,因此很明显,flash 构建器是调整窗口大小的构建器。有什么想法这可能是由于什么造成的吗?
So the issue is that whenever I run the flash movie, the display in the browser (Chrome) ends up being like 30% larger than the browser is when fully maximized. In reality, it should be running in a 800x800px environment. I've tried messing with the stage size and doing things like setting it to FULL_SCREEN and NORMAL and that had no effect. However, attempting to compile the project through the command line with the mxmcl (although it gives different errors atm) show me that the window is properly sized at 800x800px, so it is obvious that the flash builder is the one that resizes it. Any ideas what this might be due to?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Flex 应用程序的默认标头是:
注意
minWidth="955"
。那可能是你的罪魁祸首。The default header for a flex app is:
Notice the
minWidth="955"
. That could be your culprit.生成的 HTML 通常基于您的应用程序标记。尝试将宽度/高度设置为 100%
如果这不起作用,您可以直接在 html-template 目录下修改模板(这是我更喜欢的方式)并将宽度/高度保留在应用程序标记之外。
The generated HTML is normally based on your application tag. Try setting 100% for width/height
If that doesn't work, you can modify the template directly under html-template directory (which is the way I prefer to do it) and leave the width/height out of the application tag.