[flexcoders] Clearing panels before changing state

2006-12-08 Thread stephen50232
Hi,

In my application when the user clicks the log out button, the
currentState is changed, but before that I'd like to be able to clear
all the TitleWindows that my still be opened by the user. 

Is there a way to force all the TitleWindows to close before changing
the state?

Thanks

Stephen



Re: [flexcoders] Clearing panels before changing state

2006-12-08 Thread Paul Andrews
- Original Message - 
From: stephen50232 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, December 08, 2006 2:17 PM
Subject: [flexcoders] Clearing panels before changing state


 Hi,

 In my application when the user clicks the log out button, the
 currentState is changed, but before that I'd like to be able to clear
 all the TitleWindows that my still be opened by the user.

 Is there a way to force all the TitleWindows to close before changing
 the state?

How about issuing a custom LOGOUT event that the windows can respond to?

Paul

 Thanks

 Stephen



 --
 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