如何在 Adob​​e AIR 中将 WindowedApplication 的窗口类型设置为轻量级 [英] How can I set the window type of a WindowedApplication to be lightweight in Adobe AIR

查看:25
本文介绍了如何在 Adob​​e AIR 中将 WindowedApplication 的窗口类型设置为轻量级的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将 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?

推荐答案

以下是您可以使用的代码:

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>

希望这会有所帮助.

这篇关于如何在 Adob​​e AIR 中将 WindowedApplication 的窗口类型设置为轻量级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆