通过Actionscript更改定义的状态
我使用Flex应用程序中的状态从普通视图切换到全屏视图。这些状态在mxml和特定标记中定义:通过Actionscript更改定义的状态,actionscript,flex4.5,Actionscript,Flex4.5,我使用Flex应用程序中的状态从普通视图切换到全屏视图。这些状态在mxml和特定标记中定义: <local:RSVideo id="video" width.normal="534" height.normal="300" width.fullScreen="100%" height.fullScreen="100%" /> 如何更改A
<local:RSVideo
id="video"
width.normal="534"
height.normal="300"
width.fullScreen="100%"
height.fullScreen="100%"
/>
如何更改AS源代码中的width.fullscreen和height.fullscreen?我需要在运行时计算的显示尺寸
提前感谢我想,我找到了解决方案:
<local:RSVideo
id="video"
width.normal="534"
height.normal="300"
width.fullScreen="{Capabilities.screenResolutionX}"
height.fullScreen="{Capabilities.screenResolutionY}"
/>
谢谢你阅读我的问题。
如果你有别的解决办法。请告诉我