Why is Flash demanding a crossdomain.xml file when the .swf and http target are both on localhost?

后端 未结 2 844
耶瑟儿~
耶瑟儿~ 2021-02-20 11:02

I\'ve got a small client/server test application where I have a Flex app that makes an HTTP request of a server app. The server app is a script running on my local machine, lis

2条回答
  •  余生分开走
    2021-02-20 11:15

    Using the policyfile.txt I figured out that the policy file was denied because there was no Content-Type specified by the server. This explains why it was impossible to find anything blogged about it.

    Hope this helps someone.

    In Flex 4.5 Mac /Users/[YOUR_USER_NAME]/Library/Preferences/Macromedia/Flash Player/Logs>tail -f policyfiles.txt

提交回复
热议问题