shape preview fixed

This commit is contained in:
honfika@gmail.com
2014-12-17 15:55:58 +01:00
parent 315ba25475
commit 596dc31137
3 changed files with 4 additions and 0 deletions

View File

@@ -138,11 +138,13 @@ public class FlashPlayerPanel extends Panel implements Closeable, MediaDisplay {
if (!Platform.isWindows()) {
throw new FlashUnsupportedException();
}
try {
flash = ActiveX.createObject(ShockwaveFlash.class, this);
} catch (ActiveXException ex) {
throw new FlashUnsupportedException();
}
flash.setAllowScriptAccess("always");
flash.setAllowNetworking("all");
flash.addFlashCallListener(new ActiveXEventListener() {