Hiya I am making a movie that has to be published to Flash Player 6 and want to set a bunch of movie clips to have the same color. Here is my function:
[AS]
var fillObjs_ar:Array = [square_mc, circle_mc];
function colours(array:Array, color) {
for (i=0; i<array.length; i++) {
var my_color:Color = new Color(array*);
my_color.setRGB(0x+color);
}
}
colours(fillObjs_ar, FF0000);
[/AS]
My problem is that I get the error message:
“Hexadecimal digits expected after 0x” referring to the 4th line of my function.
If anyone could help me out it would be really appreciated.
Thanks
Schm