Hello,
i'm using the following code
stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyboardDown);
private function onKeyboardDown(event:KeyboardEvent):void
{
mConnection.send("key", event.keyCode);
}
connection.addMessageHandler("key", function(m:Message, userid:String, key:String){
textfield.appendText("key userid --->" + userid + " " + key);
})
but i cant get keycodes any help?