# Bringing variables from coldfusion to flash

**URL:** <https://forum.kirupa.com/t/bringing-variables-from-coldfusion-to-flash/194698>\
**Category:** Uncategorized\
**Created:** [July 25, 2006, 5:29pm UTC](https://forum.kirupa.com/t/bringing-variables-from-coldfusion-to-flash/194698 "2006-07-25T17:29:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![garebear](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@garebear](https://forum.kirupa.com/u/garebear)\
**Post date:** [July 25, 2006, 5:29pm UTC](https://forum.kirupa.com/t/bringing-variables-from-coldfusion-to-flash/194698/1 "2006-07-25T17:29:51Z")

</div>

I have been successful at bringing in one variable from coldfusion to flash. However, I have been unsuccessful at bringing in multiple variables.

_**Flash code (one variable successful):**_

function verifyLogin\_Result(result) {  
cfResults = "Welcome Back " + result;  
}

_**Coldfusion code (one variable successful):**_

\<cfset FLASH.result = qVerify.FirstName\>

According to the tutorial I am using… to bring in multiple variables, I am suppossed to use the following code but it is unsuccessful:

_**Flash code for multivariables (unsuccessful):**_

function verifyLogin\_Result(result) {  
cfResults = "Welcome Back " + result.Prefix + " " + result.FirstName + " " + result.LastName + " " + result.Suffix;  
}

_**Coldfusion code for multivariables (unsuccessful):**_

\<cfset FLASH.result.Prefix = qVerify.Prefix\>  
\<cfset FLASH.result.FirstName = qVerify.FirstName\>  
\<cfset FLASH.result.LastName = qVerify.LastName\>  
\<cfset FLASH.result.Suffix = qVerify.Suffix\>

Any help on this would be greatly appreciated. I can supply more of the code if requested but for ease, I have only supplied what I felt is the relevant part.

Thanks
