AVM2 execution fixes

This commit is contained in:
honfika@gmail.com
2016-12-30 21:19:48 +01:00
parent f786c34910
commit cf58f71f10
11 changed files with 189 additions and 38 deletions

View File

@@ -85,7 +85,6 @@ public class AdobeFlashExecutor {
flash.setAllowScriptAccess("always");
flash.setAllowNetworking("all");
flash.addFSCommandListener(new ActiveXEventListener() {
@Override
public void onEvent(ActiveXEvent axe) {
resultRef.setVal((String) axe.args.get("args"));
@@ -363,6 +362,7 @@ public class AdobeFlashExecutor {
methodBody.max_scope_depth = 10;
methodBody.setCode(code);
methodBody.autoFillMaxRegs(abc);
return methodTrait.name_index;
}