diff --git a/support/aphlict/client/src/Aphlict.as b/support/aphlict/client/src/Aphlict.as index 592bbd4e54..5045a26821 100644 --- a/support/aphlict/client/src/Aphlict.as +++ b/support/aphlict/client/src/Aphlict.as @@ -27,15 +27,18 @@ package { this.send = new LocalConnection(); } - protected function externalInvoke(type:String, object:Object = null):void { + final protected function externalInvoke( + type:String, + object:Object = null):void { + ExternalInterface.call('JX.Aphlict.didReceiveEvent', type, object); } - protected function error(error:Error):void { + final protected function error(error:Error):void { this.externalInvoke('error', error.toString()); } - protected function log(message:String):void { + final protected function log(message:String):void { this.externalInvoke('log', message); } diff --git a/support/aphlict/client/src/AphlictClient.as b/support/aphlict/client/src/AphlictClient.as index 31105c67d1..a05c917873 100644 --- a/support/aphlict/client/src/AphlictClient.as +++ b/support/aphlict/client/src/AphlictClient.as @@ -5,7 +5,7 @@ package { import flash.utils.Timer; - public class AphlictClient extends Aphlict { + final public class AphlictClient extends Aphlict { /** * The connection name for this client. This will be used for the diff --git a/support/aphlict/client/src/AphlictMaster.as b/support/aphlict/client/src/AphlictMaster.as index ee07fe53e6..35d3cbb031 100644 --- a/support/aphlict/client/src/AphlictMaster.as +++ b/support/aphlict/client/src/AphlictMaster.as @@ -12,7 +12,7 @@ package { import vegas.strings.JSON; - public class AphlictMaster extends Aphlict { + final public class AphlictMaster extends Aphlict { /** * The pool of connected clients. diff --git a/webroot/rsrc/swf/aphlict.swf b/webroot/rsrc/swf/aphlict.swf index c6ffcdbd32..eaf4589a9c 100644 Binary files a/webroot/rsrc/swf/aphlict.swf and b/webroot/rsrc/swf/aphlict.swf differ