crossdomain issue with Flex Application
I have a flex application that has a button that calls a URL.
The source of the URL is a location on the same Apache web server as the Flex application.I have dumped a crossdomain file under webapps and also under ROOT folder:
<cross-domain-policy>
<allow-access-from domain="*"/>
<site-control permitted-cross-domain-policies="all"/>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
However, my Flex application is still returning a 2048 error, which I understand to be an issue relating to not having the cross-domain file setup correctly.
Please se开发者_StackOverflow中文版e this short screencast for more info.
In the long run, I need the tool to be able to open any publically accessible file from several different web servers.
Do you need the port? Looks like you're on 8080 -
<cross-domain-policy> <allow-access-from domain="*" to-ports="80,443,8080"/> <site-control permitted-cross-domain-policies="all"/> <allow-http-request-headers-from domain="*" headers="*"/> </cross-domain-policy>
精彩评论