Adobe AIR app适合屏幕(最大化)
-
10-07-2019 - |
题
有没有办法制作Adobe AIR应用程序 适合屏幕(最大化)当它的时候 推出?
解决方案
来自Abhilash:
只需调用maximize();应用程序创建中的函数 完整的功能。
其他提示
将creationComplete事件添加到您的应用程序
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="950" height="500"
showStatusBar="false"
creationComplete="winApp_creationCompleteHandler(event)">
然后添加maximize();功能到创建完成事件。
protected function winApp_creationCompleteHandler(event:FlexEvent):void
{
maximize();
}
不隶属于 StackOverflow