Gotolabel action is not gotoandplay!

This commit is contained in:
Jindra Petřík
2021-11-25 19:33:38 +01:00
parent 77a53a4267
commit d6022ec105
2 changed files with 1 additions and 2 deletions

View File

@@ -5,7 +5,6 @@ All notable changes to this project will be documented in this file.
### Fixed
- AS1/2 - switch with getvariable decompilation
- AS1/2 - call action parameters as string
- AS1/2 - gotolabelaction is gotoandplay
- AS1/2 - direct editation - use actionadd instead of add2 on swfver < 5
- AS1/2 - tellTarget when single
- AS1/2 - use slash syntax in get/setvariable only in eval/set

View File

@@ -42,7 +42,7 @@ public class GotoLabelActionItem extends ActionItem {
@Override
public GraphTextWriter appendTo(GraphTextWriter writer, LocalData localData) {
writer.append("gotoAndPlay");
writer.append("gotoAndStop");
writer.spaceBeforeCallParenthesies(1);
writer.append("(\"");
writer.append(Helper.escapeActionScriptString(label));