θυοιβ

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

安全沙箱衝突解決方法

Posted on 2011-03-04 04:50  ichow  阅读(307)  评论(0)    收藏  举报
var context:LoaderContext = new LoaderContext();
context.applicationDomain = new ApplicationDomain();
context.checkPolicyFile = true;
context.securityDomain = SecurityDomain.currentDomain;

Loader.load(new URLRequest(url), context);
胆大心细脸皮厚