Flex NavigatorContent 中的高度调整
如何在运行时(自动)调整 Flex (4) 应用程序的高度,以便仅显示 HTML 页面滚动条,而不显示任何 Flex 滚动条?
我正在使用 ViewStack 控件,它将始终更改其内容。因此,每次显示一些新内容(NavigatorContent 控件)(显然会有不同的高度)时,我希望应用程序高度以仅更改 HTML 页面的高度所反映的方式调整其高度。
我有一种轻微的感觉,这意味着在运行时改变 SWF 的高度!这是真的吗?如果是的话怎么告诉页面?这可能吗?
我希望我尽可能详细地解释了我的问题。
提前致谢。
How is it possible to (automatically) adjust the height of a Flex (4) application at runtime so that only the HTML-page scroll bar is shown, not any Flex scroll bar?
I'm using a ViewStack control which will change always its content. So every time some new content (NavigatorContent controls) is shown (which apparently will have different heights) i want the application height to adjust its height in a way it is reflected in changing only the height of the HTML-page.
I have the slight feeling that this means changing the height of the SWF at runtime! Is this true? If yes how to tell the page ? Is this possible?
I hope i explained my problem as close as possible.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您还没有遇到此问题的解决方案,这里有一篇博客文章描述了此问题的解决方案:http://blog.wezside.co.za/blog/fullscreen-flash-with-browser-scrollbar/
这比您可能要寻找的要多一点,所以这里是一般情况要点:
If you haven't already come across a solution to this here's a blog post described a solution for this : http://blog.wezside.co.za/blog/fullscreen-flash-with-browser-scrollbar/
It's a little more then you may be looking for so here's the general gist of it:
这是有效的解决方案(为我)!
This is the solution which worked (for me)!