This content has been marked as final. Show 3 replies
A popup error box contains this as well:
[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 : irectHTTPMessageResponder/securityErrorHandler()
In flex 2.0, the crossdomain.xml file is almost ALWAYS necessary. Only when the data source url has the exact same domain as the Flex app is it not required. and "localhost" is not the same domain as "localhost:8080"
It should go in the root of the domain you are requesting the data from. When in doubt, use a global permission, and put a copy everywhere until it works, then remove them until it breaks.
Thanks!! I did add the crossdomain.xml file to that directory and it fixed the problem. I guess that's a difference between Flash 8 & Flex 2 ?? Thanks for the help!!!