Pretty sure you have to place a crossdomain file on the http server you're
trying to hit if you're going to run the swf off your desktop.  Normally the
swf has rights to hit the server it's served from, but when you run a swf
file sitting on your desktop it's not "served" from any server, so any web
server you specify would be "foreign" and would need to have a crossdomain
file that allowed that swf to access it.

Darren



>From: "compengguy" <[EMAIL PROTECTED]>
>Reply-To: flexcoders@yahoogroups.com
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Help!
>Date: Thu, 27 Apr 2006 13:28:15 -0000
>
>Hi all,
>I am making a page for my teamsite where i am sending the sql query in
>the URL. which returns an xml file. When i compile and run this code
>in Flex Builder 2.0 , It runs fine but when i take that swf file and
>run it seperately It gives the following errors.
>
>       *****************************************************
>Error: faultCode:Channel.Security.Error faultString:'Security error
>accessing url' faultDetail:'Destination: DefaultHTTP'
>      at
>mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
>      at flash.events::EventDispatcher/dispatchEvent()
>      at mx.messaging::MessageAgent/fault()
>      at mx.messaging::Producer/fault()
>      at ::DirectHTTPMessageResponder/securityErrorHandler()
>      at flash.events::EventDispatcher/dispatchEvent()
>      at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
>       ********************************************************
>what i need to do,to not to have this warning because after the
>warning it not fetches the data.
>
>The code snippet is
><mx:HTTPService id="xml" url="" URL" useProxy="false"/>
>
>so can anybody suggest what i need to do ?
>
>Thanks
>Sachin Gaur
>
>
>
>
>
>
>--
>Flexcoders Mailing List
>FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>Yahoo! Groups Links
>
>
>
>
>
>




--
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