mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-23 09:35:42 +00:00
Updated debug_inner test data
This commit is contained in:
@@ -43,17 +43,14 @@ package
|
||||
var byteArray:ByteArray = new binaryData2Class() as ByteArray;
|
||||
var loader:Loader = new Loader();
|
||||
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoaderComplete);
|
||||
//trace("loading innerSwf 2");
|
||||
loader.loadBytes(byteArray);
|
||||
}
|
||||
|
||||
private function onLoaderComplete(event:Event):void {
|
||||
var loaderInfo:LoaderInfo = event.target as LoaderInfo;
|
||||
var className:String = "MyInnerClass2";
|
||||
//trace("getting definition of " + className);
|
||||
var LoadedClass:Class = loaderInfo.applicationDomain.getDefinition(className) as Class;
|
||||
var instance:* = new LoadedClass();
|
||||
//trace("calling innerSwf 2 instance");
|
||||
instance.run(root);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user