I am attempting to create an interactive piano. Right now, I have my keys layed out and each key is a button. On the down frame of that button is where the sound plays.
What I want to do now is to allow the user to press a button and when they do so, the down frame of that button will trigger, thus playing the sound.
How would I go about doing this?
Thank you for your help!
If you want to have keypresses control the functionality of your buttons you will need to create your buttons as movieclip symbols so that you can control which frame they are in using Actionscript. There is no other way than direct interaction (clicking on a button symbol) to get it to react.