Hi 

my application needs to wait until two (or more) resultHandlers to get their
results and use them together.

for example,

<mx:RemoteObject id="myRO" destination="test" fault="FaultHandler(event)">
        <mx:method name="getList1"  result="handleList1Result(event)"/>
        <mx:method name="getList2"  result="handleList2Result(event)"/>
</mx:RemoteObject>

at application creationComplete, it calles myRO.getList1() and
myRO.getList2()

what can i do to make sure i get both results before i do anything else?

i know it can call myRO.getList1(), then in the
handleList1Result(event:ResultEvent), after it gets the list1 result, then
it calls myRO.getList2(), 

but i would like to know a better, more clear way.

thanks

C

-- 
View this message in context: 
http://www.nabble.com/how-to-wait-for-more-than-one-httpserivice-remoteobject-result-to-finish--tp25067471p25067471.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to