[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] ActionScript colorText property not working?

From: Pablo Rodríguez
Subject: Re: [Swftools-common] ActionScript colorText property not working?
Date: Mon, 02 Mar 2009 23:11:30 +0100
User-agent: Thunderbird (X11/20090114)

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);

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);

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,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]