+ Start a Discussion
JashuganJashugan 

Flex Toolkit and Synchronous Calls

Hello,

I was wondering if it were possible to make synchronous calls using the flex toolkit (Adobe flex toolkit for Apex). If not, does anyone have ideas of what method I should use to wait for a series of asynchronous calls to finish before executing a function?

TIA

Message Edited by Jashugan on 06-20-2007 05:28 PM

Ron HessRon Hess
no, synchronous calls are not the way of Flex.

you can set an event to notify you when the series is complete.

take a look at how QueryIterator.as does this to support query/queryMore

this src is inside the src/com/salesforce directory if i recall.
JashuganJashugan
OK, I will look at the source, and see if I can't figure it out.

Message Edited by Jashugan on 06-21-2007 04:16 PM