> How then can I get that the TitleWindow - held by the component - is
being closed?

Can you restate that sentence ?

Mike

On 9/12/07, grimmwerks <[EMAIL PROTECTED]> wrote:
>
>   Ok, here's the setup:
>
> MAIN APP
> State="reg"
> Component="login"
> TitleWindow
>
> At the main app's start, the state is NOT 'reg'. A button sets the
> main app's state to 'login'.
>
> How then can I get that the TitleWindow - held by the component - is
> being closed?
>
> I've tried to do a setEventHandler but it doesn't work.
>
> So on the titleWindow's close, do I dispatch an event, and have the
> main application listen for it?
>
> But how do I set it, if, at the creationComplete if the component
> 'login' doesn't exist until the state 'reg' is called?
>  
>



-- 
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to