Do you have the crossdomain.xml file setup correctly on the 192.168.0.188
box to receive calls from whatever host you're loading the app from?

Brendan



On Sun, Mar 22, 2009 at 11:20 PM, markflex2007 <[email protected]>wrote:

>   Hi,
>
> I test Flex code and php server code in same server and it works fine.I use
> the following line code.
>
> private var amf:RemoteObject = new RemoteObject();
>
> amf.source = "something.something";
> amf.destination ="something";
> amf.endpoint = "http://localhost/amfphp/amfphp/gateway.php";;
>
> I use same Flex code and different endpoint after I move the same php code
> to other server.
>
> private var amf:RemoteObject = new RemoteObject();
>
> amf.source = "something.something";
> amf.destination ="something";
> amf.endpoint = "http://192.168.0.188/amfphp/amfphp/gateway.php";;
>
> I get the error:
>
> RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend"
> faultDetail="Channel.Security.Error error Error #2048: Security sandbox
> violation: http://localhost/AMFTest2/bin-debug/AMFconnect.swf cannot load
> data from http://127.0.0.1/amfphp/amfphp/gateway.php. url: '
> http://192.168.0.188/amfphp/amfphp/gateway.php'"]
>
> which config file I have to change to make it work.
> Thanks for your help.
>
> Mark
>
>
>  
>



-- 
Brendan Meutzner
http://www.meutzner.com/blog/
http://www.riajobs.com

Reply via email to