Missing playerglobal info

This commit is contained in:
Jindra Petřík
2015-04-26 09:05:53 +02:00
parent af31f85c49
commit 42c5d2fd36
2 changed files with 8 additions and 1 deletions

View File

@@ -2400,6 +2400,9 @@ public class ActionScriptParser {
private static void initPlayer() throws IOException, InterruptedException {
if (playerABCs.isEmpty()) {
if (Configuration.getPlayerSWC() == null) {
throw new IOException("Player SWC library not found, please place it to " + Configuration.getPlayerSWC());
}
SWC swc = new SWC(new FileInputStream(Configuration.getPlayerSWC()));
SWF swf = new SWF(swc.getSWF("library.swf"), true);
for (Tag t : swf.tags) {