I'm trying to trap a press of the TAB key for an interface and Flash won't read it. I can pick up every other key on the keyboard including function keys and capslock etc. but TAB won't read. I've tried using the keycode and Key.TAB to no avail. And, no, the keyboard is not broken - TAB works fine in other programs and I've tried the same script on other machines and it doesn't work on them either.
Here's the script I've been using...
onClipEvent (keyDown) {
keyPressed=Key.getCode();
trace(keyPressed);
}
It returns values for everything the key I want (which should read "9".
Here's the script I've been using...
onClipEvent (keyDown) {
keyPressed=Key.getCode();
trace(keyPressed);
}
It returns values for everything the key I want (which should read "9".