AS1/2: Properly handling of Flash7 scripts exported to Flash5/6 - ActionDefineFunction local registers

This commit is contained in:
Jindra Petřík
2018-01-29 22:13:59 +01:00
parent da3cf1454c
commit eca98106d2
115 changed files with 573 additions and 130 deletions
@@ -941,7 +941,7 @@ public class ActionPanel extends JPanel implements SearchListener<ActionSearchRe
if (lastCode != null) {
try {
boolean insideDoInitAction = (this.src instanceof DoInitActionTag);
GraphDialog gf = new GraphDialog(mainPanel.getMainFrame().getWindow(), new ActionGraph(this.src.getScriptName(), insideDoInitAction, lastCode, new HashMap<>(), new HashMap<>(), new HashMap<>(), SWF.DEFAULT_VERSION), "");
GraphDialog gf = new GraphDialog(mainPanel.getMainFrame().getWindow(), new ActionGraph(this.src.getScriptName(), insideDoInitAction, false, lastCode, new HashMap<>(), new HashMap<>(), new HashMap<>(), SWF.DEFAULT_VERSION), "");
gf.setVisible(true);
} catch (InterruptedException ex) {
logger.log(Level.SEVERE, null, ex);