Updated debug_inner test data

This commit is contained in:
Jindra Petřík
2024-08-18 21:28:46 +02:00
parent e5a5c596e8
commit 87aea2a2e1
10 changed files with 19 additions and 13 deletions

View File

@@ -16,7 +16,7 @@
</define>
<define append="true">
<name>CONFIG::timeStamp</name>
<value>'05.08.2024'</value>
<value>'18.08.2024'</value>
</define>
<define append="true">
<name>CONFIG::air</name>

View File

@@ -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);
}