本文介绍了我如何可以设置的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="http://www.adobe.com/2006/mxml" layout="absolute">
<!-- Your Code Here -->
</mx:Window>
希望这有助于。
Hope this helps.
这篇关于我如何可以设置的WindowedApplication的窗口类型在Adobe AIR是轻量级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!