Hi, If I remeber correctly, you need to listen for window closing event and call event.preventDefault().
This will stop the default behavior and then allow you to hide the window, setting the visible or whatever implementation you have. Mike On Thu, Oct 16, 2008 at 12:11 PM, Nick Collins <[EMAIL PROTECTED]> wrote: > I'm attempting to override a mx:Window's response to a close, so that if > someone closes the window, it only hides it. The use case is that it's a > properties window that can then be reopened when they select another > element. The problem, of course, is that once a window has been closed you > cannot reopen it. > > I have overridden the close function, but that is not having the effect I > want. It seems I somehow need to override the event that is called when the > deactivate event is called. How might I go about doing this? > > -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.

