开发者

crossdoman.xml flash sand box violation

开发者 https://www.devze.com 2023-03-23 18:49 出处:网络
I have a crossdomain.xml file sitting in my WebServer folder on a web: <?xml version=\"1.0\" ?> <cross-domain-policy>

I have a crossdomain.xml file sitting in my WebServer folder on a web:

<?xml version="1.0" ?>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>

Just to try and get it to work, I actually put开发者_StackOverflow中文版 it in every folder in the path to my web page as well but with the same result when I try to run the test movie from flash professional:

*** Security Sandbox Violation ***
Connection to loadNews(http://devbox.net/Media/links/ticker.xml) halted - not permitted from file:////Volumes/Mac%20Pro%20HD/Users/norm/Desktop/ticker/rssTest.swf
problem loading the XML

How can I get this to work?


Cross domain policies can be tricky (and nightmarish at times).

Your policy XML looks just fine, but is it on the same domain as your XML file? There will need to be that (or similar) policy at http://devbox.net/crossdomain.xml or else you won't be able to load ticker.xml.

0

精彩评论

暂无评论...
验证码 换一张
取 消