View Full Version : Help with my Piano

09-19-2002, 02:56 AM
I'm new to flash but am average with Javascript.

I've made a 2 octave piano using buttons that contain the key images plus their sampled sounds.

I have a 1 frame movie containing 24 movies (one for each note).

I want 2 comboBoxes and a push button:
Combobox 1 - holds letter names A-G
ComboBox 2 - holds chord type Major, Minor etc.
PushButton: Set to onClick

I was thinking that I would approach the code from frame 1 something like this.

if ((combobox1.getValue() == C) && (combobox2.getValue() == Major))

Could someone please help me through this project. I'm a music teacher and would love to get this working. I have tried for tweo days but really need some Action Script syntax help.



09-19-2002, 04:16 PM
Here is what I've done so far.

No fancy AS just goto and play. Ultimately I want to make a piano that the user can use by clicking on the keys.

Anyone want to help and teach me along the way? I don't mean by making you do all the work but just help me get the algorithm right.