Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13964744
D9411.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D9411.diff
View Options
diff --git a/support/aphlict/client/src/Aphlict.as b/support/aphlict/client/src/Aphlict.as
--- a/support/aphlict/client/src/Aphlict.as
+++ b/support/aphlict/client/src/Aphlict.as
@@ -27,15 +27,18 @@
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
--- a/support/aphlict/client/src/AphlictClient.as
+++ b/support/aphlict/client/src/AphlictClient.as
@@ -5,7 +5,7 @@
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
--- a/support/aphlict/client/src/AphlictMaster.as
+++ b/support/aphlict/client/src/AphlictMaster.as
@@ -12,7 +12,7 @@
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 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 16 2024, 9:43 PM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718453
Default Alt Text
D9411.diff (1 KB)
Attached To
Mode
D9411: Mark some ActionScript methods as `final`.
Attached
Detach File
Event Timeline
Log In to Comment