Help with random sequence memory game

hi guys,…
I’m trying to create a random sequence memory game, where user has to watch over a certain sequence appears on the screen before they can input (by pushing buttons) according to the sequence appear before.
I’ve found simon sayz code and make a modification on it.
It worked flawlessly, but there is one problem with it.
The code creates the sequence in this manner, e.g:

1
1 1 2
1 1 2 3
1 1 2 3 4
1 1 2 3 4 5
etc,…

while the game I’m intended to develop doesn’t need that kind of increment logic, they just need to display 5 different element for starter and then the user should follow the sequence displayed on it.
I’ve attached the code I’m using (flash CS3) with hope that anyone can help me with the code.
any suggestion would be deeply appreciated.

Thanx in advance