`

解决Error: Error #2060: 安全沙箱冲突:ExternalInterface 调用者

    博客分类:
  • FLEX
阅读更多
SecurityError: Error #2060: 安全沙箱冲突

Error: Error #2060: 安全沙箱冲突:ExternalInterface 调用者 http://sjs.sinajs.cn/common/js/share_connect.swf 不能访问 http://blog.sina.com.cn/s/blog_4e848c1e0100cjsz.html。
at flash.external::ExternalInterface$/_initJS()

at flash.external::ExternalInterface$/call()

at com.czbin.system::DevelopModel$/isDebugModel()

at com.czbin.system::SecurityAndDebug()

at Webim()


#2060: 安全沙箱冲突
SecurityError: Error #2060: 安全沙箱冲突:ExternalInterface 调用者 http://imgcache.qq.com/qqhome_v2/parker/client/Source.swf?uin=653001326&version=2 不能访问 http://cnc.imgcache.qq.com/qqhome_v2/parker/client/index.html?uin=653001326&keyname=myhome&canvastype=home¶ms=。
at flash.external::ExternalInterface$/_initJS()
at flash.external::ExternalInterface$/addCallback()
at com.tencent.qzone.park.item::OwnerInfoBar()
at com.tencent.qzone.park::Park()



解决方法:

1 需要在嵌swf的放增加参数 <param name='allowScriptAccess' value ='always' /><object type="application/x-shockwave-flash" data="/player/loader.swf" width="100%" height="100%" id="1g1gPlayer" bgColor="#333333">

<param name="movie" value="/player/loader.swf"/>
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value ="always" />
</object>

2 还有可能安装的flashplayer版本不一致,请卸载后重新安装flashplayer
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics