Groups | Blog | Home
all groups > coldfusion flash integration > august 2005 >

coldfusion flash integration : sending variables from flash to coldfusion



L Z
8/26/2005 12:20:44 PM
Hello MCf Community

I had a problem whit sending variables from flash to coldfusion, hope someone
can help me?
I used load variables, but the variables dont go to coldfusion.
That looks like a simple task to me, but I dont did it, and I dont found
anything good explaining just that.

Thanks,
PaulH
8/27/2005 6:19:48 PM
L Z
8/28/2005 12:00:00 AM
My problem is really in the flash code, not in the cf code. I saw in internet
some tutorials about this matter, but they explain olny the cf code.

Well, actually I will try to do it whit this cf code below, using in flash the
method "send and load". Was cut out a tutorial, im just waiting to get acess to
my cf server again.



<cfsetting enablecfoutputonly="YES">
<cfcontent type = "application/x-www-urlform-encoded">

<cfset escore = form.escore>
<cfset nome = form.nome>
<cfset email = form.email>

<cfset returnToFlash =
"&reply_toppings=#URLEncodedFormat(toppingsList)#&reply_size=#URLEncodedFormat(s
ize)#&reply_nome=#URLEncodedFormat(quantity)#">

<!--- FlashOutput contains the string that will be sent back to Flash--->
<cfprocessingdirective suppresswhitespace="Yes">
<cfoutput>
#returnToFlash#
</cfoutput>
</cfprocessingdirective>
PaulH
8/28/2005 8:03:58 AM
if it's the flash end of things, have you looked at remoting? it seems cleaner
(but then i'm a cf guy). you might look at www.asFusion.com/blog for examples
(though using cf7 flash forms but the idea is the same i think). also the cf
docs on flash remoting have both cf and actionscript examples.




AddThis Social Bookmark Button