mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-14 12:32:56 +00:00
Issue #730 Not working without ActiveX fix on Windows
Ocal escapes for strings in AS1/2. Invalid escape in string does not generate exception (handle as \\ in AS1/2, empty string in AS3).
This commit is contained in:
@@ -135,7 +135,11 @@ public class FlashPlayerPanel extends Panel implements Closeable, MediaDisplay {
|
||||
if (!Platform.isWindows()) {
|
||||
throw new FlashUnsupportedException();
|
||||
}
|
||||
flash = ActiveX.createObject(ShockwaveFlash.class, this);
|
||||
try {
|
||||
flash = ActiveX.createObject(ShockwaveFlash.class, this);
|
||||
} catch (ActiveXException ex) {
|
||||
throw new FlashUnsupportedException();
|
||||
}
|
||||
flash.setAllowScriptAccess("always");
|
||||
flash.setAllowNetworking("all");
|
||||
flash.addFlashCallListener(new ActiveXEventListener() {
|
||||
|
||||
Reference in New Issue
Block a user