博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Fix for: Permission denied to access property 'toString'
阅读量:7145 次
发布时间:2019-06-29

本文共 1015 字,大约阅读时间需要 3 分钟。

Originally posted by rwolffgang .

Hi guys,

when developing a game that runs in an iframe (Facebook canvas) I encountered this error message in the JavaScript console:

Permission denied to access property 'toString'

I'm using the Flash plugin and it turned out to be a security mechanism of Flash, which disallows to pull content from another domain. Although the Flash plugin and MP3s are hosted on the same domain, the iframe let's Flash consider it as a cross-domain access. The domain, from which the content should be downloaded, needs to allow the access.

To solve this issue I had to place a crossdomain.xml file in the root of our domain.

I know this is not an error report, but I'm certain someone else will hit the same problem, hence I want this knowledge to be shared.

Cheers,

Robert

Sources:

 

from: http://community.createjs.com/discussions/soundjs/136-fix-for-permission-denied-to-access-property-tostring

 

转载于:https://www.cnblogs.com/argb/p/4180461.html

你可能感兴趣的文章
为什么要用原生 JavaScript 代替 jQuery?
查看>>
nginx的安装与配置小结
查看>>
SCCM-如何让播发的软件出现在操作系统的任务序列中
查看>>
利用XtraBackup做mysql不停机重做主从复制
查看>>
perl检测网站首页状态
查看>>
经验:常见木马和未授权控制软件的关闭 1
查看>>
[AlwaysOn Availability Groups] 健康模型 Part 2 ——扩展
查看>>
WCF客户端异常处理
查看>>
redhat5.4 www服务器配置实例(2)
查看>>
Silverlight4不同控件间拖拽实现-附源码下载
查看>>
Esxi 5.0虚拟机网络不通问题解决
查看>>
Net设计模式实例之迭代器模式(Iterator Pattern)(2)
查看>>
Cocos2d-x游戏实例-《跑跑跑》制作教程(第七篇)——添加能吃的物品以及胜利条件...
查看>>
iptables/netfilter网络防火墙实现及实战分析
查看>>
php设计模式--策略模式
查看>>
网络音视频技术的深入研究
查看>>
深入浅出Hyper-V网络虚拟化(三)
查看>>
如何在不需要安装光盘的前提下通过Win RE(Windows恢复环境)重装Windows 7
查看>>
【驱动】Flash设备驱动基础·NOR·NAND
查看>>
自己总结的jQuery点滴以及各种jQuery古怪问题
查看>>