I think you just have to step into the removePopUp code and see what's up ________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Rick Root Sent: Thursday, April 19, 2007 5:51 AM To: [email protected] Subject: [flexcoders] Problem removing popup window I have an application which uses PopUpManager to create a modal progress window. I do this in several locations in the app. The code in one component works... this one: private function runQuery():void { // blah blah blah lots of stuff here to reate xml and whatnot handleResponse = true; roAdvanceER.runQuery(reportXML); progressWindow = ProgressWindow(PopUpManager.createPopUp(this,ProgressWindow,true)); PopUpManager.centerPopUp(progressWindow); } public function runQueryResult(e:ResultEvent):void { if (!handleResponse) { return; } progressWindow.remove(); // blah blah blah lots of stuff here to handle result } I have what is essentially the EXACT same code in the other component.. but it doesn't work there. No errors are caused when I run it in debug mode.. it just doesn't remove the popup. I should mention... remove() is a public function of the progressWindow component.. it looks like this: public function remove():void { PopUpManager.removePopUp(this); } Since debugging doesn't seem to be helping.. how can I determine WHY the popup isn't being removed? I put a breakpoint at the remotePopUp line above... and it executes.. but doesn't remove the popup in some cases. Rick

