Added Label that flex compiler is used (when it's enabled in settings)

Fixed #2111 Flex AS3 editation - use SWF dependencies defined in GUI
Fixed SWF dependencies label was not updated on startup
This commit is contained in:
Jindra Petřík
2023-12-30 18:06:08 +01:00
parent 123a740d22
commit 4125e94ca3
19 changed files with 141 additions and 49 deletions
@@ -1855,8 +1855,8 @@ public class ABC implements Openable {
method_info.remove(index);
}
public boolean replaceScriptPack(As3ScriptReplacerInterface replacer, ScriptPack pack, String as) throws As3ScriptReplaceException, IOException, InterruptedException {
replacer.replaceScript(pack, as);
public boolean replaceScriptPack(As3ScriptReplacerInterface replacer, ScriptPack pack, String as, List<SWF> dependencies) throws As3ScriptReplaceException, IOException, InterruptedException {
replacer.replaceScript(pack, as, dependencies);
((Tag) parentTag).setModified(true);
return pack.isSimple;
}