Popups are not parented by the application. Everybody is parented by systemManager, so that's a better place to listen for bubbling.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Wednesday, December 26, 2007 2:53 PM To: [email protected] Subject: [flexcoders] Bubbling and event from a popup I have a custom control in my app which pops up a dialog in which the user can alter some data in the underlying domain model. I have a custom event SetDirtyEvent(o:Object) which gets dispatched and a listener in the main app which then keeps a singleton list of objects which have been changed so I have a minimal server synchronisation transaction. When I call dispatchEvent(new SetDirtyEvent(myDirtyObject)) from anywhere else across my application (and I do that a lot) the listener in the Application fires and it works as expected. When I call this from any popup window the app event handler never fires. I have bubbles set to true. What am I doing wrong? Do I have to explicitly set some sort of parentage of the popup window in order for the custom event to bubble up to the app? Thanks Simon

