Textfield.textcolor - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

TextField.textColor

Availability
Flash Player 6.
Usage
my_txt.textColor:Number
Description
Property; indicates the color of the text in a text field. The hexadecimal color system uses six
digits to represent color values. Each digit has sixteen possible values or characters. The characters
range from 0 to 9 and then A to F. Black is represented by (
end of the color system, is (
Example
The following ActionScript creates a text field and changes its color property to red.
this.createTextField("my_txt", 99, 10, 10, 100, 300);
my_txt.text = "this will be red text";
my_txt.textColor = 0xFF0000;
).
#FFFFFF
) and white, at the opposite
#000000
TextField.textColor
927

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents