grandsp5
August 13th, 2003, 05:20 PM
can anyone tell me why this isnt working?
colors = new Color(line0);
colors.setRGB(0xFF0000);
for (k=1; k<=9; k++) {
"colors"+k = new Color(line+k);
this[colors+k].setRGB(0xFFFFFF);
mc = line0.duplicateMovieClip("line"+k, k);
mc._rotation = this["line"+(k-1)]._rotation+10;
mc._x = this["line"+(k-1)]._x+15;
}
It is supposed to set all the duplicated movie clips to the color FFFFFF. And no I can't do it later because eventually I want each one to be a progressive shade lighter of the same color. For example, line1 is FFFFFF, line 2 is EEEEEE etc so I cant set them all to once color object.
colors = new Color(line0);
colors.setRGB(0xFF0000);
for (k=1; k<=9; k++) {
"colors"+k = new Color(line+k);
this[colors+k].setRGB(0xFFFFFF);
mc = line0.duplicateMovieClip("line"+k, k);
mc._rotation = this["line"+(k-1)]._rotation+10;
mc._x = this["line"+(k-1)]._x+15;
}
It is supposed to set all the duplicated movie clips to the color FFFFFF. And no I can't do it later because eventually I want each one to be a progressive shade lighter of the same color. For example, line1 is FFFFFF, line 2 is EEEEEE etc so I cant set them all to once color object.