1

我想要 2 个窗口,一个在主桌面上,另一个在单独的桌面窗口上。我在文档中找不到这个。这可能吗?

4

3 回答 3

0

Yep it's possible use the Window class http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/core/Window.html

all Windows are stored in NativeApplication.nativeApplication.openedWindows

so you can do stuff like this

for (var i:int =
   NativeApplication.nativeApplication.openedWindows.length - 1; i > 0;
   --i)             { NativeWindow(NativeApplication.nativeApplication.openedWindows[i]).close();
   }
于 2013-06-04T09:40:30.850 回答
0

您可以创建新的NativeWindow以在 Adob​​e AIR 桌面应用程序中添加新窗口。作为WindowedApplication的一部分已经创建了一个 NativeWindow

于 2012-09-02T18:34:06.527 回答
0

实际上我所追求的是这里描述的 Screens 数组

http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118676a47e0-8000.html

于 2012-09-03T19:15:52.577 回答