Flex3中AIR加载时全屏显示
来源:互联网 发布:跑马拉松的装备淘宝店 编辑:程序博客网 时间:2024/05/16 11:33
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
applicationComplete="init()" backgroundColor="0x003030" focusRect="false">
<mx:Script>
<![CDATA[
private function init():void
{
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
focusManager.setFocus(terminal);
terminal.text = "Welcome to the dumb terminal app. Press the ESC key to exit..\n";
terminal.selectionBeginIndex = terminal.text.length;
terminal.selectionEndIndex = terminal.text.length;
}
]]>
</mx:Script>
<mx:TextArea
id="terminal"
height="100%" width="100%"
scroll="false"
backgroundColor="0x003030"
color="0xCCFF00"
fontFamily="Lucida Console"
fontSize="44"/>
</mx:WindowedApplication>
方法二:
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
horizontalAlign="left"
backgroundColor="#ffffff">
<mx:Button label="全屏" click="stage.displayState = StageDisplayState.FULL_SCREEN" />
<mx:Button label="窗口" click="stage.displayState = StageDisplayState.NORMAL" />
<mx:Button label="全屏交互" click="stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE" />
<mx:Label text="FullScreen Test" fontSize="20" fontWeight="bold" />
<mx:TextArea width="100%" editable="false" borderThickness="0" text="Notice that the text input box below will work properly in normal and fullscreen interactive modes, but it will not work in fullscreen mode." />
<mx:TextInput id="testInput" />
</mx:WindowedApplication>
- Flex3中AIR加载时全屏显示
- Flex4 AIR加载时全屏显示
- Flex4 AIR加载时全屏显示
- 全屏AIR应用中videoplayer全屏切换会影响air全屏BUG的解决
- Flex3全屏效果实现
- flex air全屏显示及stage初始化问题
- 在AIR中显示HTML
- Flex3下使用全屏模式
- AIR中使用HTMLLoader加载HTML文件
- VirtualBox中如何全屏显示
- VirtualBox中如何全屏显示
- Android--Android中显示全屏
- Android--Android中显示全屏
- vwmare中Linux全屏显示
- android中获得全屏显示
- Android中Toast全屏显示
- Flex3工具显示(ToolTips)
- WordPress 3.5 中使用UEditor全屏时按钮显示不全
- 图片在页面内随意飘动,遇到边界还会反弹
- 从零开始学习jQuery
- javascrpt实现联动下拉框(非ajax)
- 分布式数据库访问
- Delphi 皮肤控件~~~
- Flex3中AIR加载时全屏显示
- 热血V60000自动打怪
- 移植ffmpeg中的H264解码部分到Android
- 使用异步Servlet扩展AJAX应用程序
- poj 3750 小孩报数问题(模拟)
- 基于ffmpeg解码h264视频
- 手机UI自动化测试工具NativeDriver VS Robotiu
- PCB设计注意事项
- c++ 使用throw抛出异常