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?

Rick

-- 
CFMBB - Coldfusion Message Boards, Version 1.21 Now Available!
http://www.cfmbb.org

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3900
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