Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
G.Bob #1
Getting AS3 to work with Coldfusion
Hi there,
All I really need to do is quite simple, but I have no background w/
Coldfusion, so I find myself Stuck.
I need AS3 to read a number in the .cfm in which my swf is embedded. It just
has to recognize a "0" (user has not yet seen this page and used the
application) or a "1" (user has used application, go to frame 5 which tells
them to take a hike b/c they have already used the one-time offer dealy).
I am using Flash CS4 and Coldfusion 8. Anyone?
Thanks!
G.Bob Guest
-
ColdFusion 7 won't work
OS: WinXP Pro (fresh install), CF 7 development machine. All firewalls and antivirus are "OFF". IIS is installed and working. When attempting to... -
Getting Apache 2.x to work with Coldfusion MX 7
I have windows 2003 server and I'm running apache 2.x and coldfusion MX 7 full CD. I used to mess around with coldfusion 6.1 trail version, and... -
Getting ColdFusion MX 7 to work with MySql 4.1
Hello out there. I'm having some problems with configuring ColdFusion MX 7 with MySql 4.1. Right now I downloaded the Connector J v. 3.0.17... -
How could make Coldfusion to work?
Hy, I have a problem with ColdfusionMX... It does not work! I have as system a Win XP professional and I have installed the Apache 2.0.54 web... -
Template for ColdFusion not work
We are trying to create a Coldfusion template with Dreamweaver MX 2004 and 2003 (we though the problem was maybe in the version of Dreamweaver).... -
G.Bob #2
Re: Getting AS3 to work with Coldfusion
If anyone can explain the most basic way for AS3 to communicate w/ coldfusion,
that would be most helpful. Here is my code (which doesn't work) to give you
an idea - I just need a start, then I can go from there.
var loader:URLLoader = new URLLoader();
loader.dataFormat=URLLoaderDataFormat.VARIABLES;
loader.addEventListener(Event.COMPLETE, loading);
loader.load(new
URLRequest("http://127.0.0.1:8501/newprism/alpha/greg/work_in_progress/spinWheel
/flashtest.cfm"));
function loading(event:Event):void {
fname.text=loader.data.fname;
}
Here is the .cfm:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<cfset user="Julie">
<cfoutput>
fname=#user#
</cfoutput>
<body>
</body>
</html>
Anyone?
G.Bob Guest
-
G.Bob #3
Re: Getting AS3 to work with Coldfusion
Any takers? Flash remoting: There is not a wealth of material regarding this subject online nor at the book store.
G.Bob Guest



Reply With Quote

