OK、同じ問題を抱えているもののために - ImageLoader、57行:基本的に
override public function onCompleteHandler(evt : Event) : void {
try{
// of no crossdomain has allowed this operation, this might
// raise a security error
_content = loader.content;
super.onCompleteHandler(evt);
}catch(e : SecurityError){
// we can still use the Loader object (no dice for accessing it as data
// though. Oh boy:
_content = loader;
super.onCompleteHandler(evt);
// I am really unsure whether I should throw this event
// it would be nice, but simply delegating the error handling to user's code
// seems cleaner (and it also mimics the Standar API behaviour on this respect)
//onSecurityErrorHandler(e);
}
};
SecurityError
がLoader
にcontent
プロパティを設定することになる、(静かにかかわらず)で発生したことを何が起こっていますかLoader.content
ではなく
負荷する前にSecurity.loadPolicyFile()
を加えて固定しました。