# Zelda-style sequence puzzle

**URL:** <https://forum.kirupa.com/t/zelda-style-sequence-puzzle/233905>\
**Category:** programming\
**Created:** [July 27, 2007, 9:56pm UTC](https://forum.kirupa.com/t/zelda-style-sequence-puzzle/233905 "2007-07-27T21:56:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RedUncle](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@RedUncle](https://forum.kirupa.com/u/RedUncle)\
**Post date:** [July 27, 2007, 9:56pm UTC](https://forum.kirupa.com/t/zelda-style-sequence-puzzle/233905/1 "2007-07-27T21:56:01Z")

</div>

hello! I have a question - I’d be exceptionally grateful if anybody could help me out…

let’s say you’ve got EIGHT buttons, stacked side-by-side as such:

BUTTON 1 / BUTTON 5  
BUTTON 2 / BUTTON 6  
BUTTON 3 / BUTTON 7  
BUTTON 4 / BUTTON 8

However, each button secretly _represents_ something ELSE:

BUTTON 1= **7** / BUTTON 5= **3**  
BUTTON 2= **1** / BUTTON 6= **8**  
BUTTON 3= **4** / BUTTON 7= **6**  
BUTTON 4= **2** / BUTTON 8= **5**

Okay, this is what I’d like to create: a series of buttons that, when clicked in the right order, activate a secret page. Very similar to the original Zelda puzzles, in which you had to memorize a special order of buttons - almost like entering a phone number.

if “BUTTON 1” secretly represents number SEVEN in the sequence, then you’d have to click button TWO first (which is secretly ONE) – get it? Then you’d click button FOUR (because this secretly holds a value of 2) - then button 5, 3, 8 - and so on…

Does that make sense? I’m sure this involves action scripting!

NOW for the tricky part: Enter the numbers in ascending order (2nd, 4th, 5th, 3rd, 8th, 7th, 1st, and finally 6th) — With each “successful” advancement of the sequence, a small “clue” graphic appears (perhaps along the bottom of the screen) - indicating success. For each additional “correct” number, an additional graphic appears beside the first - eventually creating a string of eight little graphics just prior to unlocking the secret page.

IMPORTANT: If, at any point, an INCORRECT number is selected, the entire sequence starts over/all “clue” graphics disappear… This is complicated, I understand - I respectfully request that you bear with me! 🔗

Basically, this whole idea is like creating a telephone/phonepad in Flash - and you have to dial the correct “phone number” in order to succeed. I’m fairly inexperienced with Flash, although I understand almost everything _except_ action scripting. I remain undeterred, however - and will enthusiastically hack away at this problem until it works! As mentioned above, I’d be exceptionally thankful to anybody willing to assist. Thank you! Happy Friday!

-Red
