This commit is contained in:
2014-06-23 16:46:24 +04:00
parent 11d4b1762d
commit a4afd49eb9
4 changed files with 218 additions and 55 deletions

View File

@@ -22,7 +22,7 @@ class Client {
public function new() {
connection = new FlashConnection("localhost", 5000, onConnect);
flash.Lib.current.addEventListener(MouseEvent.CLICK, function(_) {
flash.Lib.current.stage.addEventListener(MouseEvent.CLICK, function(_) {
onConnect(_);
});
}