From d6022ec10510deb4cc4361883bb800ffc2442f6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Thu, 25 Nov 2021 19:33:38 +0100 Subject: [PATCH] Gotolabel action is not gotoandplay! --- CHANGELOG.md | 1 - .../decompiler/flash/action/model/GotoLabelActionItem.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d7732789..4117583c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/GotoLabelActionItem.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/GotoLabelActionItem.java index 910c0e911..4a477b338 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/GotoLabelActionItem.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/GotoLabelActionItem.java @@ -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));