Process space bar or enter key on Spark ButtonBar
The examples I have read on using ButtonBar have focused mainly on trapping the change event and taking action based on the selected index. However, in my Flex 4.6 application, it seems that pressing the space bar or enter key on a button does not trigger the change event. For accessibility purposes, I need to handle either the space bar or enter key to allow the user to choose a button via the keyboard. If I simply put the click="clickhandler(event)" on the ButtonBar, I seem to get results; however, I haven't figured out how to identify which button was activated in this handler. Also, due (I believe to bubbling) I'm getting the handler triggered by any Button click event inside the containers managed by the ButtonBar.
Any example code on taking action on a ButtonBar based on space bar or enter key would be appreciated!
