mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-06 16:15:44 +00:00
#624 search in embedded swfs fixed
This commit is contained in:
@@ -608,7 +608,8 @@ public final class SWF implements TreeItem, Timelined {
|
||||
|
||||
ArrayList<ABCContainerTag> newAbcList = new ArrayList<>();
|
||||
getABCTags(objs, newAbcList);
|
||||
this.abcList = newAbcList;
|
||||
isAS3 = !newAbcList.isEmpty();
|
||||
abcList = newAbcList;
|
||||
}
|
||||
|
||||
private static void getABCTags(List<ContainerItem> list, List<ABCContainerTag> actionScripts) {
|
||||
|
||||
@@ -592,13 +592,10 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
|
||||
|
||||
for (SWF swf : newSwfs) {
|
||||
|
||||
boolean hasAbc = !swf.abcList.isEmpty();
|
||||
swf.isAS3 = hasAbc;
|
||||
|
||||
tagTree.setModel(new TagTreeModel(mainFrame, swfs));
|
||||
dumpTree.setModel(new DumpTreeModel(swfs));
|
||||
|
||||
if (hasAbc) {
|
||||
if (swf.isAS3) {
|
||||
if (abcPanel == null) {
|
||||
abcPanel = new ABCPanel(this);
|
||||
displayPanel.add(abcPanel, CARDACTIONSCRIPT3PANEL);
|
||||
|
||||
Reference in New Issue
Block a user