--- In flexcoders@yahoogroups.com, "byte.sensei" <[EMAIL PROTECTED]> 
wrote:
>
> OK, so I understand that Flex web service calls are asynchronous, 
and I 
> understand the many cases where this makes sense since you don't 
have 
> to hold up the UI experience while waiting for a web service or 
remote 
> procedure to return a result.
> 
> However, I keep running into instances where this makes my life 
hell. 
> One example is the submission of an order on a Flex site I have.  
> Because of the way the order is handled, it is split into multiple 
> (smaller) orders and then each order is submitted/saved via a web 
> service call.  This means that one order could have 10+ web service 
> calls.  I have a "Print Receipt" button which then uses the saved 
order 
> data to produce a PDF receipt.  The problem is, if a user 
clicks "Print 
> Receipt" before all the save order web services have finished, then 
> they only get a partial receipt.  There's also not an easy way to 
> determine if all the web service calls are finished, so I can't 
> disable/enable the button based on that.

Is this what you want?

http://tinyurl.com/5zzxlz

Reply via email to