2 Replies Latest reply on Jun 16, 2008 8:34 AM by levancho

    setting  concurrency  property through actionAcript

    levancho Level 3
      in this document : http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?content=rpc_07.html

      it says you can You can set the following properties on a RemoteObject component's <mx:method> tag

      but I don't use method tag, does that mean I cant set concurrency to be "last" ?
      how can I tell my remoteCall to use concurrency ="last"?

      I use following code to invoke remote Object :

      var token:AsyncToken = roService.getQuickPickList("12345");

      token.addResponder(new AsyncResponder(
      function(data:Object, token:Object):void {
      // lalala
      }, function(info:Object, token:Object):void { },

      token
      ));

      basicaly I want to make sure every subsequent request cancel out any existing request currently running .looks like that concurrency property will do just that, but I cant seem to find where I can set that