Shelley: Another good article on using Flash MX 2004 Professional and CFC together is:
http://www.macromedia.com/devnet/mx/flash/articles/delta_packet.html This articles provides a more indepth explanation of using delta packets than what Ben Forta's gives in his article. The articles also explains how to have the CFC send a result packet back to Flash to let Flash know what happened to all the adds/deletes/updates. Bruce Bruce Phillips Society of Teachers of Family Medicine 1-800-274-2237 ext 5405 [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 06/04/04 6:04 PM >>> Hi, I have a Flash application in which a RecordSet is created. Using Flash Remoting the appliation connects to a cfc and I want to transfer the RecordSets in order to update/insert into a database table. The connection is working and "something" is being transfered. However, there isn't any data in the Structure of the cfc. The documentation that I've found only shows string data being passed from Flash. My question: Is it possible to send a RecordSet or Object from Flash to a cfc or do I really have to send data as a string? The following code works without error, but the value inserted into the table is "No Data". action script code... myService.setAvailableData(res, SendData); cfc code... <cffunction name="setAvailableData" access="remote" returntype="string"> <cfargument name="SendData" required="yes"> <cfif StructIsEmpty(SendData)> <cfset Records = "No Data"> </cfif> <cfquery name="SetAvail" datasource="IntranetSupportTest"> insert into SC_FlashOutput (Test) values ('#Records#') </cfquery> <cfset ReturnString = "The Data was received"> <cfreturn ReturnString> </cffunction> Thanks, Shelley ========================================================= Kansas City ColdFusion User Group's website & listserv is hosted through the generous support of Clickdoug.com To send email to the list, email [EMAIL PROTECTED] To (un)subscribe, email [EMAIL PROTECTED] with your request. For hosting solutions http://www.clickdoug.com Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1. ====================================================== ========================================================= Kansas City ColdFusion User Group's website & listserv is hosted through the generous support of Clickdoug.com To send email to the list, email [EMAIL PROTECTED] To (un)subscribe, email [EMAIL PROTECTED] with your request. For hosting solutions http://www.clickdoug.com Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1. ======================================================
