| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jun 2001
Location: Australia
Posts: 2
|
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)) { _root.Cmusic_note.play _root.Emusic_note.play _root.Gmusic_note.play } 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. Thanks, Rob |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Jun 2001
Location: Australia
Posts: 2
|
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. Thanks, Rob |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|