diff --git a/CHANGELOG.md b/CHANGELOG.md index f10d77beb..a96cef014 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Added +- StartSound and StartSound2 show characterId/class in the tag tree + ### Fixed - Debugger - getting children of top level variables diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSound2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSound2Tag.java index 1cdf48325..a168992b7 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSound2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSound2Tag.java @@ -79,4 +79,9 @@ public class StartSound2Tag extends Tag { sos.writeString(soundClassName); sos.writeSOUNDINFO(soundInfo); } + + @Override + public String toString() { + return super.toString() + " (" + soundClassName + ")"; + } } diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSoundTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSoundTag.java index c792a5a59..ebe95cb18 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSoundTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSoundTag.java @@ -92,4 +92,9 @@ public class StartSoundTag extends Tag implements CharacterIdTag { public void setCharacterId(int characterId) { soundId = characterId; } + + @Override + public String toString() { + return super.toString() + " (" + soundId + ")"; + } }