I don't see why you'd need to use SystemManager; the fact that PopUpManager uses it should be an implementation detail. Couldn't you just keep track of the refereces returned by createPopUp() and addPopUp() and call removePopUp() on all of them when your app does a re-render? - Gordon ________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Thursday, April 05, 2007 5:46 PM To: [email protected] Subject: [flexcomponents] Remove "orphan" popups My app uses xml metadata to render itself. Some of the dynamically instantiated components use the popupManager to display a toolbar when they are created. But certain action can cause the entire application to be re-rendered. This leaves the popup toolbars from the previous control still floating around, without any refernce variable I can use to remove them. I plan to investigate the SystemManager in detail, as I suspect this is what I need to use to completely re-initialize my dynamic app. Am I headed in the right direction? Any hints to speed my progress? Tracy
