diff --git a/CHANGELOG.md b/CHANGELOG.md index 58dbefd9a..e5b8639f6 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 +- [#2603] Export Sprite as SWF - sprite frames as timeline frames, without sprite itself ## [24.1.2] - 2026-01-31 ### Added @@ -4083,6 +4085,7 @@ Major version of SWF to XML export changed to 2. [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 +[#2603]: https://www.free-decompiler.com/flash/issues/2603 [#2581]: https://www.free-decompiler.com/flash/issues/2581 [#2592]: https://www.free-decompiler.com/flash/issues/2592 [#2154]: https://www.free-decompiler.com/flash/issues/2154 diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/PreviewExporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/PreviewExporter.java index e7ac409f1..9a24033a1 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/PreviewExporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/PreviewExporter.java @@ -451,7 +451,9 @@ public class PreviewExporter { } } - writeTag((Tag) treeItem, sos2, doneCharacters); + if (!isSprite) { + writeTag((Tag) treeItem, sos2, doneCharacters); + } MATRIX mat = new MATRIX(); mat.hasRotate = false;