Flash Remoting - Returning Multiple Values

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