[COLOR=#000000][FONT=verdana]Hi, [/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]I am fairly new to actionscript programming, I’ve made a few simple games for the students in my class (They are learning English). I am working on a grammar/syntax game right now.[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]I am trying to figure out how to write code for button sequencing. [/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]Basically, what I want to happen is. I have 4 buttons: btn1, btn2, btn3, btn4.[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]They need to be pushed in a specific order (ie. Forming a proper sentence). If they are pushed in the specific order, it goes to to the next frame, to make another sentence, and on, and on like that. If they do not push the buttons in the correct order, then the button values (or whatever) reset until the proper sequence is put in. I’ve been reading about strings and arrays with button use. But still havent figured it out. Could someone please help?[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]For example, let’s say the sequence was simply btn1, btn2, btn3, btn4.[/FONT][/COLOR]