[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 package { 2 3 import flash.display.Sprite; 4 import flash.external.ExternalInterface; 5 import flash.net.LocalConnection; 6 7 8 public class Aphlict extends Sprite { 9 10 /** 11 * A transport channel used to receive data. 12 */ 13 protected var recv:LocalConnection; 14 15 /** 16 * A transport channel used to send data. 17 */ 18 protected var send:LocalConnection; 19 20 21 public function Aphlict() { 22 super(); 23 24 this.recv = new LocalConnection(); 25 this.recv.client = this; 26 27 this.send = new LocalConnection(); 28 } 29 30 final protected function externalInvoke( 31 type:String, 32 object:Object = null):void { 33 34 ExternalInterface.call('JX.Aphlict.didReceiveEvent', type, object); 35 } 36 37 final protected function error(error:Object):void { 38 this.externalInvoke('error', error.toString()); 39 } 40 41 final protected function log(message:String):void { 42 this.externalInvoke('log', message); 43 } 44 45 } 46 47 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |