Tab Index to event handler actions ???
Hey Guys,
I was wondering if it is possible to set a tab index to recognize event handlers on key press of the return/enter button.
I have no idea if this is possible but basically I have a bunch of actions tied to various movie clips. I know I can set the tab index in the accessibility panel. But once that item is highlighted, if the user hits the enter button on the keyboard, is there some way to trigger the listener that is on the movie clip ?? does that make sense???
Here is roughly how my buttons are set up.
Code:
function click1(event:MouseEvent):void {
myText.htmlText = "one";
}
function click2(event:MouseEvent):void {
myText.htmlText = "two";
}
function click3(event:MouseEvent):void {
myText.htmlText = "three";
}
one.addEventListener(MouseEvent.MOUSE_DOWN,click1);
two.addEventListener(MouseEvent.MOUSE_DOWN,click2);
three.addEventListener(MouseEvent.MOUSE_DOWN,click3);
Any help would be great. I don't even know where to begin with this one. Thanks guys.