avm2: Implement Loader.uncaughtErrorEvents
This can just delegate to LoaderInfo
This commit is contained in:
parent
2621dd78ee
commit
66eadc8f7c
|
@ -8,6 +8,7 @@ package flash.display {
|
||||||
import flash.system.LoaderContext;
|
import flash.system.LoaderContext;
|
||||||
import flash.utils.ByteArray;
|
import flash.utils.ByteArray;
|
||||||
import flash.net.URLRequest;
|
import flash.net.URLRequest;
|
||||||
|
import flash.events.UncaughtErrorEvents;
|
||||||
import __ruffle__.stub_method;
|
import __ruffle__.stub_method;
|
||||||
|
|
||||||
internal var _contentLoaderInfo: LoaderInfo;
|
internal var _contentLoaderInfo: LoaderInfo;
|
||||||
|
@ -56,5 +57,9 @@ package flash.display {
|
||||||
override public function setChildIndex(child:DisplayObject, index:int):void {
|
override public function setChildIndex(child:DisplayObject, index:int):void {
|
||||||
throw new IllegalOperationError("Error #2069: The Loader class does not implement this method.", 2069);
|
throw new IllegalOperationError("Error #2069: The Loader class does not implement this method.", 2069);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function get uncaughtErrorEvents():UncaughtErrorEvents {
|
||||||
|
return this.contentLoaderInfo.uncaughtErrorEvents;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue