博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年8月17日

摘要: 在Flash as中发起HTTP请求外部网站的资源时会引起Flash的跨域问题。出现跨域问题时,Flash会先访问对方网站根目录的crossdomain.xml文件。crossdomain.xml文件可以定义哪些网站有权限访问本网站的资源。所以如果我们要允许别的网站跨域访问本网的资源需要在根目录下加入crossdomain.xml文件。crossdomain.xml文件内容如下:<?xml ... 阅读全文

posted @ 2010-08-17 10:16 Adam哥 阅读(2650) 评论(0) 推荐(0) 编辑

counter