From 2e808bb0849aea3d723b0229c56af1b5e6553d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Tue, 23 Nov 2021 19:46:56 +0100 Subject: [PATCH] Fixed AS1/2 - gotolabelaction is gotoandplay --- CHANGELOG.md | 1 + .../decompiler/flash/action/model/GotoLabelActionItem.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1caf45ac..b9779019d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ 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 ## [14.6.0] - 2021-11-22 ### Added 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 4a477b338..910c0e911 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("gotoAndStop"); + writer.append("gotoAndPlay"); writer.spaceBeforeCallParenthesies(1); writer.append("(\""); writer.append(Helper.escapeActionScriptString(label));