Let's say your CFC looks like this:

<cffunction access="remote" name="demo" ...>
        <cfargument name="foo" type="string" required="true">
        <cfargument name="bar" type="string" required="true">
        ...
</cffunction>

You can use pass the arguments like this:

CFC.demo({foo:"my first argument", bar:"my second argument"});

or like this:

myObj = new Object();
myObj.foo = "my first argument";
myObj.bar = "my second argument";
CFC.demo(myObj);


hope that helps,
chris



>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
>Of Marlon Moyer
>Sent: Thursday, April 03, 2003 10:50 AM
>To: [EMAIL PROTECTED]
>Subject: [CFCDev] Flash remoting and CFC's
>
>If your cfc has multiple parameters, how do you specifiy in Flash which
>are which when you make the call to the cfc?
>
>
>----------------------------------------------------------
>You are subscribed to cfcdev. To unsubscribe, send an email
>to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
>in the message of the email.
>
>CFCDev is run by CFCZone (www.cfczone.org) and supported
>by Mindtool, Corporation (www.mindtool.com).


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to