I guess I am hooking the wrong thing

Well open as in calling PopUpManager.addPopup and close as in 
PopUpManager.removePopup.

I assumed that when I did addPopup and the window appeared it would 
fire a "show" and that when I removed it it would fire the hide 
before it was destroyed.
tks

--- In [email protected], "ben.clinkinbeard" 
<[EMAIL PROTECTED]> wrote:
>
> What are you doing to the TitleWindow when you refer to "open" and
> "close"? showEffect/hideEffect correspond to FlexEvent.SHOW and
> FlexEvent.HIDE, which are triggered by a change in the visible
> property. So calling someTitleWindow.visible = false should trigger
> the hideEffect assuming you've assigned it correctly.
> 
> HTH,
> Ben
> 
> 
> --- In [email protected], "reflexactions" <reflexactions@>
> wrote:
> >
> > I was trying to have an effect run when I open and close a 
TitleWindow.
> > 
> > I set the showEffect/hideEffect but nothing happens.
> > 
> > Is this the wrong effect property for open and closing a window?
> > 
> > If so what effect property should I use ... or how can I do this?
> > 
> > tks
> >
>


Reply via email to