Skip to content

Commit

Permalink
Fixed: #2348 Export FLA CS4 or below with more than 255 instances
Browse files Browse the repository at this point in the history
Switching ribbon/nonribbon fix.
  • Loading branch information
jindrapetrik committed Oct 23, 2024
1 parent 5fdb9ce commit ce54be7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ All notable changes to this project will be documented in this file.
- Cache as bitmap background color support (rendering, image and FLA export)

### Fixed
- [#2344] Export to FLA CS4 and below with more than 255 library items,
bitmap fills or frame duration
- [#2344], [#2348] Export to FLA CS4 and below with more than 255 library items,
instances, bitmap fills or frame duration
- [#2341] FLA export - linkage and imported fonts did not work correctly
- [#2345] items smaller than 20 twips were not drawn - caused PDF problems - now ceil is used
- [#2341] FLA export - DefineEditText - use its default text color on HTML enabled inputs
Expand Down Expand Up @@ -3620,6 +3620,7 @@ Major version of SWF to XML export changed to 2.
[alpha 8]: https://github.com/jindrapetrik/jpexs-decompiler/compare/alpha7...alpha8
[alpha 7]: https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/alpha7
[#2344]: https://www.free-decompiler.com/flash/issues/2344
[#2348]: https://www.free-decompiler.com/flash/issues/2348
[#2341]: https://www.free-decompiler.com/flash/issues/2341
[#2345]: https://www.free-decompiler.com/flash/issues/2345
[#2321]: https://www.free-decompiler.com/flash/issues/2321
Expand Down
Binary file modified lib/flacomdoc.jar
Binary file not shown.
Binary file modified libsrc/ffdec_lib/lib/flacomdoc.jar
Binary file not shown.
1 change: 1 addition & 0 deletions src/com/jpexs/decompiler/flash/gui/MainPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ public void savePins() {
}

public void clearPins() {
pinsPanel.setCurrent(null);
pinsPanel.clear();
}

Expand Down
7 changes: 7 additions & 0 deletions src/com/jpexs/decompiler/flash/gui/PinsPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ public void setCurrent(TreeItem item) {
if (lastSelectedButton != null) {
lastSelectedButton.setSelected(false);
}

if (item == null) {
current = null;
rebuild();
return;
}

TreeItem itemNoTs = item;
if (item instanceof TagScript) {
itemNoTs = ((TagScript) item).getTag();
Expand Down

0 comments on commit ce54be7

Please sign in to comment.