diff --git a/CHANGELOG.md b/CHANGELOG.md index e5c206d89..52e6f2652 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ All notable changes to this project will be documented in this file. - #1489 AS1/2 direct editation - for in loop - #1490, #1493 AS1/2 direct editation - cast op - AS1/2 cast op decompilation +- Only last DoInitAction tag displayed ## [13.0.3] - 2021-02-12 ### Added diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java index 5f4619473..a0e2fa6f9 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java @@ -12,7 +12,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library. */ + * License along with this library. + */ package com.jpexs.decompiler.flash.timeline; import com.jpexs.decompiler.flash.SWF; @@ -447,7 +448,7 @@ public class Timeline { if (asm instanceof DoInitActionTag) { DoInitActionTag initAction = (DoInitActionTag) asm; String path = swf.getExportName(initAction.spriteId); - path = path != null ? path : "_unk_"; + path = path != null ? path : "__doinit__" + initAction.spriteId; if (path.isEmpty()) { path = initAction.getExportFileName(); }