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!

HELP Sending Variable from ColdFusion to Flash..?

Status
Not open for further replies.

Chris130

Programmer
Dec 11, 2001
7
US
ColdFusion & Flash (Visitor) Dec 10, 2001
I am trying to send ColdFusion text into Flash and it doesn't seem to be working. Any help is appreciated.

---------------------------FLASH-----------------------

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------------------------------
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>
 
FYI
I am responding to my own thread. I have figured out the answer to this. ColdFusion Studio and browsers will not display URLEncoded variables unless it is posted live. Even mapped locations will only show the variable and not what is in the variable.
 
Chris,

I know nothing about coldfusion, but thanks for coming back with the solution for future reference.

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top