Tuesday, March 30, 2010

how to know the remoteObject call...

Hi , i would like to know how to know the status of?a rmote call using a remoteObject.... and take dependiing of these status make other call or not..

o hope you can help me with this problem..

thanks..

hector

how to know the remoteObject call...

You may want to make us of AsyncTokens and Responders.

The following documentation may be helpful:

  • http://www.flexafterdark.com/docs/ActionScript-Responder
  • http://www.flexafterdark.com/docs/Flex-Remoting

Let me know if that helps or inspires more specific questions...


Ben Edwards

how to know the remoteObject call...

hi... thanks for your help but i isn楹搕?what i need.. really i just want to trying?to know the status of a call because i need to simule a syncronic call no an asyncronic call because iam trying to write a one single and flexible?function?to set as a result eventHanddler for my remoteObject , i am working with flex convined with webOrb and php an i need to can make secuencial calls to my php classes, my funtion has been writed as follow and it is work but the asyncronics calls dont let it to work as i need(serve diferents objects with a only one remoteObject) but whern i make many calls in a single event like a applicaition complete just give data for the last object...

public function onResultService(event:ResultEvent,oTarget:Object,cNombreArray:String):void{

? aryDataProviders[cNombreArray] = new ArrayCollection(event.result as Array);

? oTarget.dataProvider=aryDataProviders[cNombreArray];?

?}

thanks for your time...

PD:i been posted the same problem 4 days ago but i have no answers.. and i just would like to know if it is possible in actionScript or not

i am sorry abaut my write.. thanks again.

No comments:

Post a Comment