View Full Version : Let the hair pulling begin... CFC/Flex 2

08-10-2006, 05:39 PM
Hi all,

I apologize if this has been asked before, but my searches of the forum have proved to return nothing.

I am developing a Flex 2/CF app and, as you may expect, all works beautifully on my local machine when I call a RemoteObject like this:

var s:RemoteObject = new RemoteObject("ColdFusion");
s.source = RemoteLocation.SECURITY; //Contains Mapping for CFC
s.checkLoginCredentials.addEventListener("fault", loginFault);
s.checkLoginCredentials(username, password);

However, when I deploy to my web host (HostMySite), and attempt to invoke the CFC as I do locally (clicking the Login button) - I receive the following error: NetConnection.call.failed

I am sure this is something to do with having to set a remoting location like we did in the old days of AS 2.0 (old days, LOL) but I just don't know where it goes.

Anyone know the trick?


05-07-2009, 02:42 AM
You should change the device. :eek: bridal hair accessories (http://www.hairaccessoriesusa.com/)