Hi,
I've been trying to do the simple task of creating some scriptographer generated text (using PointText), and setting the fill colour, but it doesn't seem to be working!! I am currently using the following code, and am scratching my head as to why it doesn't work.
var theText = new PointText(Point(50,50));
theText.content = "this is a test of coloured text";
theText.characterStyle.fontSize = 14;
var theColour = new RGBColor(Math.random(), Math.random(), Math.random());
theText.style.fill.color = theColour;
...I have also tried using theText.createOutline() before setting the colour, but this does not seem to help either!
Any help would be greatly appreciated.