all groups > flash (macromedia) > october 2003 >
You're in the

flash (macromedia)

group:

invisable button


invisable button luttrell NO[at]SPAM sbcglobal.net NO[at]SPAM sbcglobal.net
10/12/2003 11:43:05 PM
flash (macromedia):
I have an invisable button on a form that I need to do something when the
Tab key is pressed.
The following code does nothing.

on (release, keyPress "<TAB>") {
trace("The Left arrow key has been pressed.");
}

Grateful for any help
cluttrell

Re:invisable button clay1
10/13/2003 5:26:15 AM
Thanks for the help
I am trying to do a software simulation that requires the user to press the Tab key
to move to the next screen. Will have to find another way to do this since using the Tab
is a problem.

Cluttrell

Re: invisable button urami_
10/13/2003 12:59:43 PM

[quoted text, click to view]

TAB is not a good key to play with.
Most of the applications reserved tab , function , enter and esc for the
application control not the content . SO browser always will have the priority to use
it . ANyway , best way to catch (still not recommending to use it) would be loop
like enter frame attach to frame , no need the button

_root.onEnterFrame = function() {
if (Key.isDown(Key.TAB)) {
trace("tab is down");
}
};




Regards

urami_*



<lsym>

There's no place like 127.0.0.1

AddThis Social Bookmark Button