If you loaded your page with your app from any host other than 10.1.0.6, you will get this error. That includes localhost.  What is happening here is that the security sandbox requires that you only connect back to the host from where you downloaded the swf.  Good practice is to use relative URLs in things like httpservice objects.
 
 
Carson

____________________________________________
 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Hunter
Sent: Thursday, June 15, 2006 8:57 AM
To: [email protected]
Subject: [flexcoders] HTTPService problem<-


That it is what produces this error ???

[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"]
    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
    at mx.rpc::Responder/fault()
    at mx.rpc::AsyncRequest/fault()
    at ::DirectHTTPMessageResponder/securityErrorHandler()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()

I use Flex 2 Beta 3 and I have XP in spanish and this is the code

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Button x="36" y="287" label="Button" click="M()" />
<mx:Script>
<![CDATA[
function M(){
     myHTTPData.send();
 }
]]>
</mx:Script>
<mx:HTTPService url="" id="myHTTPData"  />

</mx:Application>

thank
greetings

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.yahoo.es

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.yahoo.es

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to