Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending ColdFusion variable into Flash ? HELP

Status
Not open for further replies.

Chris130

Programmer
Dec 11, 2001
7
US

I am trying to send ColdFusion text into Flash and it doesn't seem to be working. Any help is appreciated.

-----------------------FLASH CODE-------------------

In frame 1 of Flash I put a button that contains:
on (press) {
loadVariablesNum ("FlashFusion.cfm", 0);
}
And I name a dynamic text box var2.

----------------COLDFUSION CODE--------------------------
Below is my ColdFusion code to send a variable into Flash.
<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;>

<cfsetting enablecfoutputonly=&quot;Yes&quot;>

<cfset var1=&quot;Chris&quot;>
<cfset var2=var1>

<html>
<head>
<title>Flash/ColdFusion CGI Test</title>
</head>
<body>

<cfoutput>&var2=#URLEncodedFormat(var2)#&</cfoutput>

</body></html>
 

I found the answere to this.

The code must be uploaded and live for URSEncoded variables to work.

This will not work in CF Studio regardless of mapping the folder. = (
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top