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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash Remoting - works locally but not remotely

Status
Not open for further replies.

ColdFusionKing

Programmer
Dec 5, 2002
145
GB
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 &quot;NetServices.as&quot;
#include &quot;NetDebug.as&quot;

if (init == null)
{
init = true;

// set the default gateway URL (this is used only in authoring)
NetServices.setDefaultGatewayUrl(&quot;
// connect to the gateway
gateway_conn = NetServices.createGatewayConnection();

// get a reference to a service
myService = gateway_conn.getService(&quot;Service Folder.CFC_Name&quot;, this);
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top