Chris Pugh wrote:
2009/3/1 Pablo Rodríguez:
Chris Pugh wrote:
Missing something maybe.. ;o) You have to use the Color object to
affect the change.
Say you had a button called button1, then ..
colStr = "0x00ff00";
myColor = new Color(button1);
myColor.setRGB(colStr);
would change the color of the button.
Does that help?
Thanks, Chris, for the reply.
Your code might change the color of a button, but not text. Or at least,
this doesn't work:
colStr = "0x00ff00";
myColor = new Color(color_text);
myColor.setRGB(colStr);
color_text="red";
Does .edittext have a match in ActionScript? I mean, is there any AS
class or object whose methods, properties and handlers can be applied to
.edittext?
Thanks for your help,
Pablo