Wondering what the data type should be for a a variable when you want to make it’s value a color. (Color… duh) but… Here’s what happens.
var buttonBorderColor:Color = "0xc21F0C";
I get the compile error of found string where color is required. - Obviously because I’m setting the value to a string.
Now…
var buttonBorderColor:Color = 0xc21F0C;
I get the compile error of found Number where color is required.
Of course I can just remove the data type and make this work but just for my own knowledge I’d like to know what the correct data type should be.
Thanks guys