I cannot seem to get my SWF to talk to my rails app. i am getting the following 
error code:

Fault: increment node clicked stat fault[FaultEvent fault=[RPC Fault 
faultString="HTTP request error" faultCode="Server.Error.Request" 
faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false 
eventPhase=2 text="Error #2032: Stream Error. URL: 
http://localhost:3000/ditto/myfunction";]. URL: 
http://localhost:3000/ditto/myfunction";] 
messageId="87ECB54A-4BDB-CF5B-41F0-7B2DEF12A2F7" type="fault" bubbles=false 
cancelable=true eventPhase=2]


Here is my crossdomain.xml file (not sure I need one as my swf is in the app 
running on localhost:3000).

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM 
"http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>

Here is my httservice:
_httpservice = new HTTPService();
                        _httpservice.url = "/ditto/myfunction";
                        _httpservice.method = "POST"; 
                        _httpservice.useProxy = false;
                        _httpservice.addEventListener( ResultEvent.RESULT, 
itemClickedStatsResult );
                        _httpservice.addEventListener( FaultEvent.FAULT, 
itemClickedStatsFault );



Always comes back as a FAULT?

Anyone have any advice?

TIA





Reply via email to