[flexcoders] sending a Flex Object() to a cfc

2008-11-07 Thread btroop202
I am trying to send a flex Object to a cfc but getting a error message. So if I define my object: var objectName:Object = new Object(); objectName.field1 = 'someData'; objectName.field2 = 'someData'; objectName.field3 = 'someData'; Then in the cfc I am looking for a struct, but I get this

Re: [flexcoders] sending a Flex Object() to a cfc

2008-11-07 Thread Howard Fore
Have you tried creating an Actionscript class for objectName (in your code) instead of a generic object and then use a RemoteAlias directive to associate that .as class to a CFC? I know this works from CF to Flex, I'm not certain about the other way. What I'd love to do is to send an

RE: [flexcoders] sending a Flex Object() to a cfc

2008-11-07 Thread Darrin Kay
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Howard Fore Sent: Friday, November 07, 2008 10:41 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] sending a Flex Object() to a cfc Have you tried creating an Actionscript class for objectName (in your code) instead of a generic

Re: [flexcoders] sending a Flex Object() to a cfc

2008-11-07 Thread Howard Fore
? -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Howard Fore *Sent:* Friday, November 07, 2008 10:41 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] sending a Flex Object() to a cfc Have you tried creating an Actionscript class for objectName

RE: [flexcoders] sending a Flex Object() to a cfc

2008-11-07 Thread Darrin Kay
@yahoogroups.com Subject: Re: [flexcoders] sending a Flex Object() to a cfc On my search forms I just send plain strings back to the CFC. In Actionscript: publicationsRO.searchPublicationArticles( pubId