Question:
Is there a simple way to change a string hexadecimal color value… eg.
var fillColor: String = "#ff0000";
I want to be able to change it to the flash equivalent (which can still be a string, not necessarily a uint)
var fillColor: String = "0xff0000";
I tried fillColor.replace(); but I’m not quite sure how to do it. Any tips welcome, as I’m not very familiar with string manipulation in AS3.
Thanks,
Saxplayer13