On 4/27/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
> Is it possible to pass a named parameter when calling a CFC from flex?

Yes, absolutely.

Sadly, my code is at work, and I don't remember exactly HOW I did it.

But I think it involved creating an object in flex containing the arguments...

var args:Object = new Object();
args.param1 = 1;
args.param2 = "Smith";
args.param3 = true;

And then maybe doing....

myRemoteObject.myMethodName(args);

I haven't been doing this stuff long enough to remember how I did
stuff 2 months ago off the top of my head!

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4008
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to