entry level array question
I'm new to array, I have a bunch of color codes that I want to assign to an array,
#000000,
#00008B,
#00009C,
#0000CD,
#0000FF,
#002395,
#002E63,
#002FA7,
#00308F,
#003366
in AS2 I have so far
var i=1;
while (i<11) {
this["icolor"+i] =
}
how do i do this within a loop, while every time 'i' imprement, it will asign the next color code on the list? I think this is pretty fundamental.. i'm still doing research on this, great if someone just point it out to me.
Thanks a lot.