swfloader 的 SecurityError: Error #2122: Security sandbox violation
来源:互联网 发布:罗升阳 知乎 编辑:程序博客网 时间:2024/06/10 11:59
Main Thread (Suspended: SecurityError: Error #2122: Security sandbox violation: Loader.content: http://localhost/Diplomski/bin/smile_on.swf cannot access http://www.sabljic-apartment.com/Smil/Shared/copyright.gif. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.)
flash.display::Loader/get content [no source]
mx.controls::SWFLoader/get content
mx.controls::SWFLoader/notifyStyleChangeInChildren
mx.core::UIComponent/notifyStyleChangeInChildren
mx.core::UIComponent/notifyStyleChangeInChildren
当用swfloader来访问加载进来的content的时候,一直会报完全错误.在网上查了一下.说是一个bug ,然后说是可以:
package{
class SWFLoaderBugFix extends SWFLoader{
public override function notifyStyleChangeInChildren ():void{}
public override function regenerateStyleCache ():void{}
}
}
class SWFLoaderBugFix extends SWFLoader{
public override function notifyStyleChangeInChildren ():void{}
public override function regenerateStyleCache ():void{}
}
}
但好象我试了一下还是不行.最后只能用loader , 通过调用loader.contentLoaderInfo.width 来访问.
- swfloader 的 SecurityError: Error #2122: Security sandbox violation
- 解决SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller的异常问题
- SecurityError: Error #2135: Security sandbox violation: BitmapData.draw: _ cannot access _. RTMP content cannot be accessed usin
- Fixing security sandbox violation in Flash AS3
- SecurityError: Error #3207: Application-sandbox content cannot access this feature.
- rtmp 视频流在截图时出现沙箱问题 “Security sandbox violation: BitmapData.draw”
- flex error #2044 securityerror
- SecurityError: Error #2148: SWF
- SecurityError:Error:#2148
- 关于AIR的SecurityError: Error #3207错误解决
- flash as3的SecurityError: Error #2122错误在添加到舞台时才触发,非加载时
- Java security sandbox
- Error code 2: Access violation的错误.
- SecurityError: Error #2148: SWF 文件 xxx 不能访问本地资源 只有仅限于文件系统的
- FLEX 截图crtmpserver服务器的rtmp流视频报 SecurityError: Error #2123
- SecurityError:Error #2048:安全沙箱冲突
- Error:Access Violation
- TFTP error: 'Access violation'
- solaris常用系统管理命令(2)
- ARCGIS DESKTOP 9.2 安装步骤
- 关于识别相似图像的算法探讨
- php导出CSV方法
- TUXEDO配置参数详解
- swfloader 的 SecurityError: Error #2122: Security sandbox violation
- BoundsChecker 检查内存泄露
- TCP报头里的那个窗口大小到底是指什么
- 该操作未能执行,因为 OLE DB 提供程序 'SQLOLEDB' 无法启动分布式事务。新事务不能登记到指定的事务处理器中。
- Microsoft .NET Pet Shop 4簡介
- java效率测试的一些疑惑,求高人指点
- word 字号对应表
- 连接SQL时应该注意的!
- 最近学习nhibernate 的困惑