Added: AS3 - navigation to definition in other SWF file and also player/airglobal

This commit is contained in:
Jindra Petřík
2025-06-01 13:09:09 +02:00
parent 9dff6b0efa
commit c9216538be
20 changed files with 575 additions and 152 deletions

View File

@@ -1998,7 +1998,13 @@ public class Main {
}
swfFile = file.getCanonicalPath();
OpenableSourceInfo sourceInfo = new OpenableSourceInfo(null, swfFile, fileTitle);
OpenFileResult openResult = openFile(sourceInfo);
OpenFileResult openResult = openFile(sourceInfo, new OpenableOpened() {
@Override
public void opened(Openable openable) {
executeAfterOpen.run();
}
}
);
return openResult;
} catch (IOException ex) {
ViewMessages.showMessageDialog(getDefaultMessagesComponent(), AppStrings.translate("open.error.cannotOpen"), AppStrings.translate("open.error"), JOptionPane.ERROR_MESSAGE);