There is a disconnect() method on RemoteObject that sounds like it might do the trick. If not, could set a boolean flag that the onResult handler checks, if its true, don't do anything with the result.
DK On 4/17/07, Rick Root <[EMAIL PROTECTED]> wrote: > > I've been asked to allow the cancellation of a pending request in our > application. > > Ie... you enter a bunch of criteria, click "Submit", and then say > "Ooops, that wasn't what I wanted" > > Right now, I'm not doing anything but calling the remoteObject method > and using showBusyCursor... I'm not enabling/disabling anything when > they click submit so they could technically click submit multiple > times or go do something else. > > But I'd like to be able to "cancel" the request.. not kill the running > coldfusion request, but to just get the flex app to pretend that the > request was never made and to ignore any response it receives. > > Rick > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:3885 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
