I have written this code on the first (and only) key-frame:
var red:ColorTransform = new ColorTransform();
red.color = 0xFF0000;
shape_mc.transform.colorTransform = red;
I have mc on the stage with instance name shape_mc
I also have text field name texter.
What I’m trying to do is to take the content of the text field (red) and give this color to the shape_mc.
texter.text trance fine, red var as a shape_mc color transform work fine as well.
When i white shape_mc.transform.colorTransform = texter.text i get nothing.
what am i doing wrong ?