Forgot to mention: close="PopUpManager.removePopUp(this);" is what I have for a titlewindow close button.
--- In [email protected], "valdhor" <[EMAIL PROTECTED]> wrote: > > Makes sense to me. > > Basically, closing the popup just changes its visibility. The object > is still available for reuse. > > Using the PopUpManager to remove a popup destroys the object and > removes it from the display list. It hasn't just been closed, it's > been blown away. > > > > --- In [email protected], "markgoldin_2000" > <markgoldin_2000@> wrote: > > > > Here is code: > > > > var popupWindow:TitleWindow = new TitleWindow; > > popupWindow = showPopupWindow(boxingArea, jobMaintenance); > > popupWindow.addEventListener("close", jobActions); > > > > public function jobActions(event:Event):void > > { > > trace(event.target); > > } > > > > I am getting into jobActions when I click on Popup's close button but I > > am not getting in there when I click on a regular Button (in popup) > > with code: > > click="PopUpManager.removePopUp(this)" > > This click closes the Popup window but no close event is triggered. > > Is that right? > > > > Thanks > > >

