gary, Try uppercasing the variable names after the result. ie, result.PRIMARYKEY
-chris > I have been successful at returning one variable to Flash from > Coldfusion. I want to be able to return two and have been > unsuccessful at this point. > > The working code (for one variable) follows: > <!-- COLDFUSION --> > <cfset FLASH.result = "#qTestName.testName#"> > > //------FLASH > output.text = "You have successfully passed the " + result; > > I have the Macromedia Coldfusion MX7 Web Application Construction Kit > right in front of me. It says to switch the code in COLDFUSION to: > > <cfset FLASH.result.testName = "#qTestName.testName#"> > <cfset FLASH.result.primaryKey = "#qPrimaryKey.primaryKey#"> > > and to switch the code in FLASH to: > > output.text = "You have successfully passed the " + result.TestName + > ", " + result.PrimaryKey; > > This isn't working... I get in my text box "You have successfully > passed the undefined, undefined > > I am doing exactly what the book says to do and it still isn't working. > Does anyone see what I am doing wrong? > -Gary ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2048 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
