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?

