Issue #688 AS3 direct editation fix - placing class on correct position

This commit is contained in:
Jindra Petřík
2014-09-21 19:16:56 +02:00
parent 82465dad9f
commit 0d26a639a1
4 changed files with 85 additions and 33 deletions

View File

@@ -147,7 +147,7 @@ public class RecompileTest {
en.getValue().toSource(htw, swf.abcList, abc.script_info.get(s).traits.traits, ScriptExportMode.AS, false);
String original = htw.toString();
ABC nabc = new ABC(swf);
com.jpexs.decompiler.flash.abc.avm2.parser.script.ActionScriptParser.compile(original, nabc, allAbcs, false, en.getKey().className + ".as");
com.jpexs.decompiler.flash.abc.avm2.parser.script.ActionScriptParser.compile(original, nabc, allAbcs, false, en.getKey().className + ".as",abc.instance_info.size());
}
}
} else {