Skip to main content
Known Participant
September 22, 2008
Question

Code for access/shortcut keys/Accessibility

  • September 22, 2008
  • 1 reply
  • 263 views
I have figured out how to add tabs to text by making invisible buttons and using the accessibility panel, but haven't been able to get access keys to work (there is a place to add the shortcut on this panel). I have read that I need to enter something like "Control+I" in the field for shortcut, but I don't know what code to add to the frame to get it to work.

Thanks for any help.
This topic has been closed for replies.

1 reply

December 2, 2008
The shortcut option within the accessibility properties does not set up an event listener for the shortcut. Instead its purpose is to tell the screen reader to tell the user that a shortcut is available. To my understanding this is not a feature that most screen readers can even utilize at this point, but exists in flash for future development of these accessibility tools. If you want to add a keyboard shortcut to your flash document you will need to do so using the EventDispatcher class.

Go here to learn more about the shortcut property, and be sure to read the last paragraph.

Happy Coding.