If the "concurrency" property of the RemoteObject (in this case, your 
delagateService) is set to "multiple", then you can issue multiple calls at 
once on the RemoteObject.  The default is multiple.

But why are you making a call for every record in your departmentlist array?  
If you make one call to the server, and pass an array of objects, that would be 
much more efficient with network and server resources.

Michael Portuesi 


--- In flexcoders@yahoogroups.com, "kpjj31" <joe.g.ja...@...> wrote:
>
> Is it possible to call remoteObject multiple times. This number would be 
> based on the number of records in an arrayCollection.
> 
> This calls it only for the first record.
> 
> for (var i:int = 0; 1 < departmentlist.length; i++)
> 
> {
> delagateService.setDelegateAssignment({ProfileID:profileid,GLString:departmentlist.getItemAt(i).DATA,AddRemove:isselected})
> 
> {
> index = i;
> break;
> }
>


Reply via email to