Array to dynamic box


hi there,

 

i have 4 buttons, have number (1 - 4)

 

i want these numbers entered dynamic box every time 1 of buttons clicked.

 

the dynamic box should have 4 characters in it, when button clicked, first characted dropped, move along 1 , new character (entered pressing button) added end of string of numbers.

 

i assume done in array somehow.

 

set array of 4 elements.

when button clicked, [0] = [1], [1] = [2]... etc.

 

then [3] = number of button.

 

and array assigned box.

 

does seem way go it. have had play around cant seem syntax right.

 

any fantastic.

 

cheers

 

dave

you continuously build string of values , extract last 4 each time string changes.



More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい