Change color using array

i got script from http://www.kirupa.com/developer/as3/random_colors_as3.htm
it use random color to change image. but, i want to change image using array…

it’s mean, when user click the button, the color will be changed arrange the array color, NOT RANDOM ARRAY…

can anyone help me?