Hello!
I just created simple application for showing wnidow onTop by event from server.
When main application in not active ( no focus ) window not appeared ( even creationComplete event not handles ).
Can you help me and advise?
Create window method is simple:
wot = new UsersViewOnTopWindow();
wot.open(false);
wot.activate();
UsersViewOnTopWindow is
<s:Window xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
alwaysInFront="true"
showStatusBar="false"
maximizable="false"
minimizable="false"
resizable="false"
systemChrome="standard"
type="{NativeWindowType.UTILITY}"
focusEnabled="false"
visible="true"
Set a breakpoint on LayoutManager.doPhasedInstantiation. It should get called 3 to 12 times then creationComplete should fire. If it keeps getting called over and over then you are in a “invalidation loop” where the window cannot figure out what size it should be. Try locking down the size of the windor or its components to help resolve the sizes.
North America
Europe, Middle East and Africa
Asia Pacific