Flex PopUpManager: How can I detect the existence of a modal popup?

Posted by Glenn on Stack Overflow See other posts from Stack Overflow or by Glenn
Published on 2009-09-17T04:49:08Z Indexed on 2010/04/22 8:33 UTC
Read the original article Hit count: 344

My Flex 3 application has some modal dialogs displayed via the PopUpManager, but there are times when I'd like other view components to know there is popup displayed. The PopUpManager doesn't have any method for actually checking the existence of popups. Is there any other way to detect this in flash/flex without writing my own global manager?

(also systemManager.popUpChildren.numChildren == 0 even when there's a modal popup)

Cheers.

© Stack Overflow or respective owner

Related posts about flex

Related posts about actionscript-3