ColdFusionKing
Programmer
Hi guys,
I have this flash file which uses flash remoting to call a coldfusion component method and returns the results back to flash. I'm invoking the swf file in the html <object> tag. When I browse this file locally ( everything works as expected, but when I copy this swf and html file to another computer in my network, I don't see anything being returned. Flash remoting does not seem to call the coldfusion component. Does anyone know how this can be resolved?
#include "NetServices.as"
#include "NetDebug.as"
if (init == null)
{
init = true;
// set the default gateway URL (this is used only in authoring)
NetServices.setDefaultGatewayUrl("
// connect to the gateway
gateway_conn = NetServices.createGatewayConnection();
// get a reference to a service
myService = gateway_conn.getService("Service Folder.CFC_Name", this);
}
I have this flash file which uses flash remoting to call a coldfusion component method and returns the results back to flash. I'm invoking the swf file in the html <object> tag. When I browse this file locally ( everything works as expected, but when I copy this swf and html file to another computer in my network, I don't see anything being returned. Flash remoting does not seem to call the coldfusion component. Does anyone know how this can be resolved?
#include "NetServices.as"
#include "NetDebug.as"
if (init == null)
{
init = true;
// set the default gateway URL (this is used only in authoring)
NetServices.setDefaultGatewayUrl("
// connect to the gateway
gateway_conn = NetServices.createGatewayConnection();
// get a reference to a service
myService = gateway_conn.getService("Service Folder.CFC_Name", this);
}