actionscript keyUp and keyDown in the browser
actionscript keyUp and keyDown in the browser
Out of context: Reply #1
- Started
- Last post
- 1 Response
- unfittoprint0
//this should work
myListener = new Object();
myListener.onKeyDown = function() {
theKey = (Key.getAscii());
theKey = String.fromCharCode(theKey);
trace(theKey);
};
Key.addListener(myListener);//read this also
http://www.macromedia.com/suppor…