Do you have a result event? I don't use remote objects but that's how
I do it with webservices.
You specify the result event (function). When that function hits you
call RoTwo with the RoOne value.
Like this:
var test:RemoteObject test.addEventListener(ResultEvent.RESULT,
myResultEventFunction)
Then capture it in this:
private function myResultEventFunction(event:ResultEvent):void{
RoTwo(event.result.thevalueIwant)
}
--- In [email protected], "Phill B" <[EMAIL PROTECTED]> wrote:
>
> I have an initialization function that gets ran on creationComplete. The
> init function calls two functions (RoOne & RoTwo) that access a remote
> object. RoTwo needs the first value in the RoOne returned array. How
do i
> make RoTwo wait for a respons from RoOne?
>
> Thanks
>
> --
> Phil
>