I want to have 2 windows, one on the main desktop and another on a separate desktop window. I can't find this in the documentation. Is this possible?
You can create a new NativeWindow to add a new window in your Adobe AIR Desktop Application. A single NativeWindow is already created as part of your WindowedApplication
Actually what i was after was the Screens array as described here
http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118676a47e0-8000.html
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();
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.