本文介绍了我如何可以设置的WindowedApplication的窗口类型在Adobe AIR是轻量级的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能设置的WindowedApplication为轻量级的窗口类型?我不想在WindowedApplication显示在任务栏上。这是可能的,我该怎么办呢?
Is it possible to set the window type of a WindowedApplication as "lightweight"? I don't want the WindowedApplication to display on the taskbar. Is this possible and how can I do it?
推荐答案下面是code您可以使用:
Below is the code you can use:
var window:Window = new Window(); // OR var window:BlankWindow = new BlankWindow(); window.type = NativeWindowType.LIGHTWEIGHT; window.open(true);
在哪里BlankWindow是,像这样的MXML文件:
Where BlankWindow is an mxml file like so:
<?xml version="1.0" encoding="utf-8"?> <mx:Window xmlns:mx="www.adobe/2006/mxml" layout="absolute"> <!-- Your Code Here --> </mx:Window>
希望这有助于。
Hope this helps.
更多推荐
我如何可以设置的WindowedApplication的窗口类型在Adobe AIR是轻量级
发布评论