Thanks As I was searching for the answer I found that I needed to dispatch the event, and was working on that when I got your answer. I tried the code you posted but I am getting a type coercion failed error on the this.dispatchEvent(new Event(Event.CLOSE)); line. The debugger said "cannot convert flash.events::Event to mx.
I'm trying to figure that out now (I'm obviously pretty new to Flex). Thanks again Steve -----Original Message----- From: João_Fernandes [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 12:51 PM To: Flex Subject: Re: Popup close event Steve, Why don't you dispatch a close Event? PopUpManager.removePopUp(this); just removes the popup, it doesn't dispatch anything. You can also listen from your main app by doing myPopUp.addEventListener(Event.CLOSE, myCloseHandler); and inside your popup you just need to do this.dispatchEvent( new Event( Event.CLOSE ) ); João Fernandes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4349 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
