The Application and all popups are parented by the SystemManager.  The 
SystemManager divides its children into four childlists (application, popup, 
tooltip, cursor).  The Application childlist is the lowest so that children in 
the popup childlist float over them, tooltips float over the application and 
popups and cursors float over everything.  The popup children probably 
should’ve been called “floating” or something like that.

The PopUpManager always adds a popup over all the other children currently in 
the childlist specified in addPopUp/createPopUp, so depending on the order and 
childlist specified, you can get different things at different levels.

I suspect you want the top level popup to go in the popup childlist


On 5/11/10 12:52 PM, "Greg Hess" <[email protected]> wrote:






Hi Alex,

No, I was not specifying the childList and never understood the implication of 
using that argument.

I updated my code however, same result.

My top level popup, or the one I want on top specifies the parent as the main 
application and uses APPLICATION childList arg. My small "middle layer" popup 
specifies the module as the parent and specifies PARENT as the childList 
however, when the middle layer popup displayes on top of the top level popup.

Should this be working or am I still missing something?

Not sure if it makes a difference, but the actual code for displaying the 
popups is in the main application and it is being called from the module.

Thanks,

Greg

On Tue, May 11, 2010 at 12:44 AM, Alex Harui <[email protected]> wrote:

Are you using the childLIst parameter of PopUpManager?



On 5/10/10 11:30 AM, "Greg Hess" <[email protected] 
<http://[email protected]> > wrote:






Hi All,

My application employs a modular architecture(main applications responsibility 
is just to load and unload modules). My module displays a popup window who's 
parent is the main application that covers the entire UI. Unfortunately, while 
this popup is displayed certain events occur in the module that it handles by 
displaying some small notification popups over UI components that are hidden by 
the big popup window, however the notification popups layer over the big popup.

In reading the PopupManager docs I thought by simply assigning the module as 
the parent of my notification popups would resolve the issue by adding the 
popups to the module "layer" and not the top "application layer", but it is not 
working and I am not sure if this is supported with the parent argument to 
addPopUp or I am doing something wrong.

Does anyone know how I can show popups in different layers per say?

Any help much appreciated.

Greg





--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to