2 Replies Latest reply on Jul 25, 2008 6:34 AM by spacehog

    Passing multiple arguments to CFC

    spacehog Level 1
      I currently connect to Coldfusion with a RemoteObject and pass a single argument. Is there a way to pass multiple arguements? Just adding a comma separated list of arguments in the parens does not seem to work.

      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="initApp(event)">

      ----In Script block----

      private function initApp(e:Event):void {
      chartmth_RO.qMonthlyUsage(200804);
      }
      ----
      <mx:RemoteObject id="chartmth_RO" showBusyCursor="true" destination="ColdFusion" source="usagecenter_local.cfc.charts_usage_mth">
      <mx:method name="qMonthlyUsage" result="get_Result(event)"/>
      </mx:RemoteObject>