# How to add actions to keyboard?

**URL:** <https://forum.kirupa.com/t/how-to-add-actions-to-keyboard/284873>\
**Category:** flash\
**Created:** [March 24, 2009, 4:44pm UTC](https://forum.kirupa.com/t/how-to-add-actions-to-keyboard/284873 "2009-03-24T16:44:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcelomdsc](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@marcelomdsc](https://forum.kirupa.com/u/marcelomdsc)\
**Post date:** [March 24, 2009, 4:44pm UTC](https://forum.kirupa.com/t/how-to-add-actions-to-keyboard/284873/1 "2009-03-24T16:44:19Z")

</div>

Hello I´ve been looking around the net, and found a lot of confusing information.  
I would like to know how to add simple actions like gotoAndPlay(“next”); to a key.  
e.g. the right arrow.

How could I do this? any simple way?

thanks in advance, marcelo.
