Groups | Blog | Home
all groups > macromedia flash flash remoting > may 2004 >

macromedia flash flash remoting : HELP - connecting flash to coldfusion using a gat



helpppp
5/14/2004 12:42:28 PM
i am using the book, "complete flash remoting mx" by joey lott and i can't do
the "create an e-commerce website" in the back! i've typed in all the code and
it's all correct, but the connection between flash and coldfusion does not
work.
i have connected coldfusion to sql and that works find, but the flash gateway
does not work at all. the book instructions are for flash mx and i'm using
flash mx 2004, could this be the problem?? i am using coldfusion as the server
andhave installed flash remoting, any ideas?? THANK YOU FOR YOUR HELP.

this is the code
Function init(){
_root.itemsbycategory = new object();
var gwurl = "http://localhost:8500/mark/cfrmxcomm.cfc/";
netservices.setdefaultgatewayurl(gwurl);
var conn = netservices.creategatewayconnection();
_root.srv = conn.getservice("mark.cfrmxcomm");
}
night981
5/15/2004 1:05:12 PM
Which version of coldfusion are you running, is it MX? It should be. And if
you're using Flash Mx 2004, there's a better way of connecting to coldfusion
components - check out Ben Forta's coldfusion tutorial here - It's by far the
most detailed tutorial of it's kind right here on macromedia.com:

http://www.macromedia.com/devnet/mx/coldfusion/articles/dc_wizard.html
CannonR1
5/26/2004 7:59:56 AM
Hi,
I am having a similar problem with an Oracle 9i dB. We have developed an app
with CFM pages and created the same app with Flash MX .

The Problem is both apps work on a single instance of cfmx, I have set up a
jrun cluster of 3 servers on one machine using IIS6 and the CFM works fine the
Flash app movie works but can not get data back. The Jrun launcher has an error
of:

0 [jrpp-0] INFO coldfusion.flash - [Flash Remoting
MX]->flashgateway.adapter.No
SuchServiceException: No service named read_codes.api.readCodesService is known
to Flash Remoting MX.

Any help would be appreciated.

Thanks
Skip
AddThis Social Bookmark Button