since you're making a service call the return will be asynchronous, but you
can still accomplish what you want to do. Your service call, this case
send() on the HTTPService, will return an AsyncToken which you can regiser
an IResponder to, specifying a result and fault method that will be called
when the service returns. You can also listen for fault and result events
directly on the HTTPService you create. The processing you want to do can be
performed  in the handler for the result event.

On Sat, Jun 28, 2008 at 8:54 AM, <[EMAIL PROTECTED]> wrote:

>   Hi
> Can anyone tell me how to write synchronous events in flex application?
> I am calling an Httpservice on focus out event of text field this service
> checks name duplication. I want my application to wait for service to finish
> and then do some processing
> Thanks in advance
>
>  
>

Reply via email to