diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScriptParser.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScriptParser.java index d31698a88..ef6a79a69 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScriptParser.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScriptParser.java @@ -2401,7 +2401,7 @@ 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()); + throw new IOException("Player SWC library not found, please place it to " + Configuration.getFlashLibPath()); } SWC swc = new SWC(new FileInputStream(Configuration.getPlayerSWC())); SWF swf = new SWF(swc.getSWF("library.swf"), true); diff --git a/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/DirectEditingTest.java b/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/DirectEditingTest.java index 0e3d149e5..3f4bb176e 100644 --- a/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/DirectEditingTest.java +++ b/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/DirectEditingTest.java @@ -59,7 +59,7 @@ public class DirectEditingTest extends FileTestBase { public void testDirectEditing(String filePath) throws IOException, InterruptedException, AVM2ParseException, CompilationException { File playerSWC = Configuration.getPlayerSWC(); if (playerSWC == null) { - throw new IOException("Player SWC library not found, please place it to " + Configuration.getPlayerSWC()); + throw new IOException("Player SWC library not found, please place it to " + Configuration.getFlashLibPath()); } try { SWF swf = new SWF(new BufferedInputStream(new FileInputStream(filePath)), false);