Synchronous calls


i have class b based on class a.

base class has method initialize overridden in class b:

public override function initialize():void

{

                              super.initialize();

setupcontrols();

}

base class initilize

public function initialize():void

{

     // call server check session time out.

     calltoserver(callfunction, onresult);

}

private function onresult ...

{

}

 

what happens that  setupcontrols(); run not waiting on onresult  execute.

any chance control this: wait results of calltoserver arrive?

 

thanks

nope, no way afaik.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support