Hi,

Couldn' you just save a reference to the window?

if (myWindow != null) {
   // ... pop it up
   myWindow = ....
}

or use a boolean flag.

private var  bIsOpen = false;

if (!bIsOpen) {
   // ... pop it up
   myWindow = ....
   bIsOpen = true;
}


Peace, Mike

On 3/30/06, Alex & Alex <[EMAIL PROTECTED]> wrote:
Hello,

I have a simple TitleWindow that I open when I click on a button.

Each time I click on the button a new TitleBar opens. How can I see if
the TitleWindow is already open? Or any other solution to this issue
will do.

Alexander







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS






--
What goes up, does come down.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to