Hmm, I don't know.  I always dispatch my own named event when closing a
PopUp.

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Monday, June 30, 2008 2:23 PM
To: [email protected]
Subject: [flexcoders] Popup - listening to close

 

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

 

Reply via email to