BTW I put a breakpoint on the remove method.. on this line:
PopUpManager.removePopUp(this);
And it IS executing.. it's just not removing the popup sometimes.
Rick
On 4/18/07, Rick Root <[EMAIL PROTECTED]> wrote:
> 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
>
--
CFMBB - Coldfusion Message Boards, Version 1.21 Now Available!
http://www.cfmbb.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW
Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3901
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37