iiley January 23rd, 2008
Before, we think there will be only on Stage instance for one actionscript programme, but AIR NativeWindow make us know we are wrong. So, for AIR full support, we must remove the dependence on sington Stage instance(for example widely AsWingManager.getStage() calls)。
These days, we got this almost done, now, for a AsWing programme, you can have more than one Stage exists, components here and there on different Stage at same time runs well.
Check this branches http://svn.aswing.org/aswing/branches/AsWing_multiStage/
Just little api changed, importances are FocusManager, CursorManager, when you use them, you’ll see, most need you pass Stage param to get the instance, the managers will create/get right instance for you automatically. KeyboardManager now will not be sington too, it’s instances will belongs to JRootPanes.
Hope it can help your AIR developing, feedback/bug reports are helpful. We’ll release a official version when it get stable later.