# Flash Remoting w/ Coldfusion 8

**URL:** <https://forum.kirupa.com/t/flash-remoting-w-coldfusion-8/278619>\
**Category:** flash\
**Created:** [January 2, 2009, 7:23pm UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion-8/278619 "2009-01-02T19:23:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![G\_Bob](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@G\_Bob](https://forum.kirupa.com/u/G_Bob)\
**Post date:** [January 2, 2009, 7:23pm UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion-8/278619/1 "2009-01-02T19:23:44Z")

</div>

Hi there,  
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](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](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd)”\>  
\<html xmlns=“[http://www.w3.org/1999/xhtml](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?  
Thanks!
