You should be able to send multiple arguments by just separating them with a comma, like this:
chartmth_RO.qMonthlyUsage( 2008, 04); By the way, I notice that there is no comma in the sample you provided. Assuming that there is a comma in the code you're actually using, what is happening when you run it? Are you getting some sort of error? Also, have you declared multiple parameters for the CFC you are calling? ----- Original Message ---- From: Marc Broom <[EMAIL PROTECTED]> To: [email protected] Sent: Wednesday, July 23, 2008 10:46:42 AM Subject: [flexcoders] Sending multiple arguments to a CFC 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>

