Hi,

I think callLater() function might help to do so here is some description
from the adobe doc.

public function callLater(method:Function, args:Array = null):void
<../../specialTypes.html#void>

Queues a function to be called later.

Before each update of the screen, the Flash Player calls the set of
functions that are scheduled for the update. Sometimes, a function should be
called in the next update to allow the rest of the code scheduled for the
current update to be executed. Some features, like effects, can cause queued
functions to be delayed until the feature completes.

more 
details<http://livedocs.adobe.com/flex/201/langref/mx/core/UIComponent.html#callLater%28%29>

HTH

Regards,

Kalpesh Mahida






On Wed, Mar 25, 2009 at 3:37 PM, Ravi Mishra <[email protected]> wrote:

>
> Do you mean to say that you have a number of service calls in your
> application and you dont want the others to call until first one
> completes?
>
> If this is the case then you can call all other services in the
> resultHandler function of the first query, which in turn will be
> triggered at the result event of first service.
> And the result event fires only when you get the response successfully
> from that service.
>
> HTH,
>
> -Ravi
>
> On Mar 25, 2:55 pm, Akhil Agrawal <[email protected]> wrote:
> > actually i m am to display result of query in flex and there may be
> > many query to i m maintain this at runtime
> > so i want that utill first query complete no further execution should
> > take place so that i can handle the result
> >
> > On Mar 25, 7:33 am, HISSAM <[email protected]> wrote:
> >
> > > What kind of halt you are looking for??
> >
> > > I guess you are using the result event?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to