diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ed11b445..fe8479d4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Fixed +- [#2043] StartSound2 tag handling ## [18.5.0] - 2023-06-25 ### Added @@ -3039,6 +3041,7 @@ All notable changes to this project will be documented in this file. [alpha 9]: https://github.com/jindrapetrik/jpexs-decompiler/compare/alpha8...alpha9 [alpha 8]: https://github.com/jindrapetrik/jpexs-decompiler/compare/alpha7...alpha8 [alpha 7]: https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/alpha7 +[#2043]: https://www.free-decompiler.com/flash/issues/2043 [#1998]: https://www.free-decompiler.com/flash/issues/1998 [#2038]: https://www.free-decompiler.com/flash/issues/2038 [#2028]: https://www.free-decompiler.com/flash/issues/2028 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 44eb73002..fadb155f9 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 @@ -310,7 +310,7 @@ public class Timeline { } else if (t instanceof StartSound2Tag) { frame.sounds.add(-1); frame.soundClasses.add(((StartSound2Tag) t).soundClassName); - frame.soundInfos.add(((StartSoundTag) t).soundInfo); + frame.soundInfos.add(((StartSound2Tag) t).soundInfo); } else if (t instanceof SetBackgroundColorTag) { frame.backgroundColor = ((SetBackgroundColorTag) t).backgroundColor; } else if (t instanceof PlaceObjectTypeTag) {