Very cool. I'll give that a try and see what happens.
Thanks
On Thu, Apr 17, 2008 at 3:53 PM, Nate Pearson <[EMAIL PROTECTED]> wrote:
> 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] <flexcoders%40yahoogroups.com>, "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
>