all groups > macromedia flash flash remoting > october 2003 >
You're in the

macromedia flash flash remoting

group:

Urgent help Needed! no response from a cfc method call


Urgent help Needed! no response from a cfc method call Tonio34
10/9/2003 9:24:49 AM
macromedia flash flash remoting:
Hi everyone,
i'm in need of some clue of a problem i have here.
i've developped on my local machine a flash movie using flash remoting.
during the developpement i connect on a local server to get data from a database,
and everything works fine.
when i release it to my customer,
it seems that the movie is not connecting to his database so i made a test.

I launched directly the swf from my home, connecting my customer's database by changing the gateway, and everything works fine (i get my customer's data, the cfc and connection works perfectly etc..)

But when i try to call the swf from a webpage, i trace the following things (from inside the net connection debugger, tracking the web page)
Connect-http://xxx.xxx.xxx.xxx/flashservices/gateway
Call map.cfc.detail.getGlobalRegion();


And thats all..
no response from the server..
no error..nothing..
I REALLY dont understand what is happening, since the cfc is absolutly correct and return a data when i launch the movie from inside flash!

Does anyone can help me on that.?
thanks a lot


Re:Urgent help Needed! no response from a cfc method call FlashJonas
10/9/2003 11:51:51 AM
Hi,

I am no expert but I think there are some security stuff you need to consider. I there are a article about this on the Macromedia developer pages.

I think you can only make a connect to a gateway in the same path as the swf file is located in when using IE...

Hope it helps!
//Jonas

Re:Urgent help Needed! no response from a cfc method call Tonio34
10/9/2003 2:14:44 PM
Thanks guy,
that was not far from the solution :)
in fact, i find out that when i pass the domain name instead of the ip on my flash movie for the gateway, everything work fine. It seems that IP and domain are not associated on my machine or on the server, and thats why i got this error.
A flash expert told me that i should try to use the System.Security.AllowAccessDomain command and add both the domain and the security, so it should work in all case.

Thanks for all, my flash culture is increasing :)


AddThis Social Bookmark Button