someListener = new Object();
someListener.onKeyDown = function() {
if(Key.isDown(Key.ENTER)) {
trace("Hit the right one");
} else {
trace("Wrong ***** !!!");
}
};
Key.addListener(someListener);
I have to hold the enter key, then hit another to make it work...
Whats the deal?




Reply With Quote