swftools-common
[Top][All Lists]
Advanced

[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: Sun, 01 Mar 2009 13:58:46 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090114)

Chris Pugh wrote:
           color_text.textColor = 0x00FF00;
           color_text="blue";

Missing something maybe.. ;o)  You have to use the Color object to
affect the change.
See here,

http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary142.html

I think I could manage an example if still stuck..

I guess that the example should be similar to this:

        myColor = new Color(color_text);
        myColor.setRGB(0xFF0000);
        color_text="red";

Text content is set to red, but text color isn't set to 0xFF0000 (http://ousia.justfree.com/colors.swf).

Could you show me the example, Chris?

Many thanks for your help,


Pablo




reply via email to

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