views:

89

answers:

1

I know how to make the mouse event work. I know how to make the keypress event work. Now what I can't figure out is how to make one button respond to both keypress and/or mousevent. In other words, a button that you can click or press "enter" for it to work.

This seems really basic but on googling all I can find is basic "how to do a keypress" stuff.

A: 

I found the answer!. "Multiple events" was the term I was looking for.

tara
http://snipplr.com/view/15830/actionscript-3---button-action-listen-for-multiple-events--eg-mouseover-mouseout-mouseup/
tara