# Triggering sounds when a keybord key is pushed using Flash CS3 AS2

**URL:** <https://forum.kirupa.com/t/triggering-sounds-when-a-keybord-key-is-pushed-using-flash-cs3-as2/301470>\
**Category:** flash\
**Created:** [December 9, 2009, 6:30pm UTC](https://forum.kirupa.com/t/triggering-sounds-when-a-keybord-key-is-pushed-using-flash-cs3-as2/301470 "2009-12-09T18:30:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dirty\_d](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@Dirty\_d](https://forum.kirupa.com/u/Dirty_d)\
**Post date:** [December 9, 2009, 6:30pm UTC](https://forum.kirupa.com/t/triggering-sounds-when-a-keybord-key-is-pushed-using-flash-cs3-as2/301470/1 "2009-12-09T18:30:07Z")

</div>

Hi,

I’m pretty new to flash and after reading numorous tutorials and several days of experimentation i’m still stumped. I’m trying to create a flash drum machine. I have a template created in illustrator with 16 “pads” and I have 16 exported sounds. At this point all I want is when a apecific keyboard key is pressed it plays a sound.

For example button “Q” relates to “pad 5” which plays “sample5.mp3”.

If anyone out there in internet land can help me out, I would greatly appreciate it!
