问题描述
我是新的弯曲。我面临的问题,使全屏幕的柔性3.My布局容器类型如下图所示。
I'm new in flex.I faced problem to make full screen in flex 3.My layout container type like below.
<mx:Application >
<mx:Panel>
<mx:ViewStack>
<mx:VBox >
<mx:VBox >
<mx:Canvas >
<mx:HBox width="300" height="300">
</mx:HBox>
</mx:Canvas>
</mx:VBox>
</mx:VBox>
</mx:ViewStack>
</mx:Panel>
</mx:Application>
容器宽度和高度是固定的像above.Then当我点击一个按钮全屏它会全屏模式。请帮我的例子和教程。
the container width and height will be fixed like above.Then when i click a button full screen it will be full screen mode. Please help me with example and tutorial.
最好的方面。Mahedi
best regard.Mahedi
推荐答案
假设你指的是全屏幕在使用整个显示器的:
Assuming you are referring to full screen as in 'use the whole monitor':
调用 stage.displayState = StageDisplayState.FULL_SCREEN以;
将设置您的Flash影片全屏模式(前提是的allowFullScreen
参数已被设置为真
在嵌入HTML页面的对象/嵌入标签)。向上扩展横向盒(改变其宽/高),使其可占据整个空间。
Calling stage.displayState = StageDisplayState.FULL_SCREEN;
will set your flash movie to full screen mode (provided that the allowFullScreen
parameter has been set to true
in the object/embed tags of the embedding html page). Scale up the hbox (change its width/height) so that it occupies the whole space available.
这篇关于Flex的全屏模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!