# Change color using array

**URL:** <https://forum.kirupa.com/t/change-color-using-array/328836>\
**Category:** Uncategorized\
**Created:** [June 22, 2012, 4:39am UTC](https://forum.kirupa.com/t/change-color-using-array/328836 "2012-06-22T04:39:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rijaaall](https://avatars.discourse-cdn.com/v4/letter/r/e9bcb4/32.png) [@rijaaall](https://forum.kirupa.com/u/rijaaall)\
**Post date:** [June 22, 2012, 4:39am UTC](https://forum.kirupa.com/t/change-color-using-array/328836/1 "2012-06-22T04:39:46Z")

</div>

i got script from [http://www.kirupa.com/developer/as3/random\_colors\_as3.htm](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?
