Thanks Peter. Your suggestion worked.

--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> 
wrote:
>
> 
> Try using the asynchronous completion token pattern to map results 
to
> various calls.
> 
> When you make the call, retain the token that's returned:
> 
>     var token:Object =
> myService.myFunctionThatListsFolderContent("myFolder");
> 
> Then add something on it that helps you identify this invocation:
> 
>     token.myId = "myFolder";
> 
> And then refer to that when you get the result back:
> 
>     var callId:String = event.call.myId;
> 
> Pete
> 
> -----Original Message-----
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Robs
> Sent: Friday, January 27, 2006 11:48 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Problem with Remote Objects - Urgent
> 
> Hi all,
>   I have a java class which performs file I/O operations. It lists 
all
> the root folders within a specified path on my disk & returns the 
folder
> names in a string array which, I then use to populate my tree 
control.
>   I have a local array var within which I store this result, e.g.,
> myArray = event.result;. 
>   I am calling the same class multiple times to get a result of 
folder
> trees, specific levels deep. The issue is that my array variable
> persists the data got from the previous call.
>   Why is this happening? What should I do to rectify this?
> 
> Thanks.
>   
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to