首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

AIR无际框窗体

2012-09-10 
AIR无边框窗体1.基于 WindowedApplication? 的无边框窗体例如:找到 xml配置文件??systemChromenone/sys

AIR无边框窗体

1.基于 WindowedApplication? 的无边框窗体

例如:找到 xml配置文件

??<systemChrome>none</systemChrome>

??<transparent>true</transparent>

2.基于 Window 的无边框窗体

?var newWindow:Window = new Window();
????newWindow.systemChrome = NativeWindowSystemChrome.NONE;
????newWindow.transparent = true;
????newWindow.title = "New Window";
????newWindow.width = 200;
????newWindow.height = 200;
????newWindow.open(true);

?

3.基于NativeWindow?

var newWindow:NativeWindow = new NativeWindow(options);
????newWindow.title = "A title";
????newWindow.width = 600;
????newWindow.height = 400;
????newWindow.stage.align = StageAlign.TOP_LEFT;
????newWindow.stage.scaleMode = StageScaleMode.NO_SCALE;
????//activate and show the new window
????newWindow.activate();

热点排行