Hi All

 

I've created an event listener in the main application to capture the close
event of a popup window.  The problem is that the event is only captured if
the user clicks the X to close the window, and not a button I have created
that will also allow them to close the window.

 

The button calls a function removeMe():

 

private function removeMe():void {;

PopUpManager.removePopUp(this);

}

 

For reasons unknown to me, this does not seem to dispatch the close event,
although it does close the popup.  Am I missing something here?  

 

Thanks

Steve


---
---


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4347
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to