Flex 3: overlapping widgets and keeping count of open windows

newbieal used Ask the Experts™
I want to create an application with overlapping windows/panels and I want to keep count of open windows.  Can someone point me to an example of this type of application or provide some sample code?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
How you want to do this depends on what kind of container you want them to be in. Generally, if you check the "numChildren" property of your widget container at any given time, it should give you the number of children inside that container.

If your setup is more complex than that, you could simply have a class that keeps track of open windows when they are created and destroyed. Create one...+1. Destroy one...-1.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial