-
This commit is contained in:
@@ -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(_);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user