Fading out text INSIDE a text area

I have text showing up in a text area, I know I can make the background transparent, but how do I make the actual text showing up an _alpha of oh say 30 or 40…

I’ve tried…(inside the onClipLoad event of the text area)

this.text._alpha = 30;
this.setStyle(“alpha”, “30”);

Going through the actionscript dictionary and reading up on the class or object can give alot of great examples for the basic stuff. :slight_smile:

As per the great resource :
http://livedocs.macromedia.com/flash/mx2004/index.html

TextField._alpha
Availability

Flash Player 6.
Usage

my_txt._alpha:Number

Description

Property; sets or retrieves the alpha transparency value of the text field specified by my_txt. Valid values are 0 (fully transparent) to 100 (fully opaque). The default value is 100. Transparency values are not supported for text files that use device fonts. You must use embedded fonts to use the _alpha transparency property with a text field.
Example

The following code sets the _alpha property of a text field named my_txt to 20%. Create a new font symbol in the library by selecting New Font from the Library options menu. Then set the linkage of the font to my font.Add the following ActionScript to your FLA or AS file:

var my_fmt:TextFormat = new TextFormat();
my_fmt.font = “my font”;
// where ‘my font’ is the linkage name of a font in the Library
this.createTextField(“my_txt”, this.getNextHighestDepth(), 10, 10, 100, 22);
my_txt.border = true;
my_txt.embedFonts = true;
my_txt.text = “Hello World”;
my_txt.setTextFormat(my_fmt);
my_txt._alpha = 20;

See also

It’s not quite that simple I’m afraid, I’m working with the text of a textarea, not a textfield.

Update:

I simply created a new layer on top of the text I was trying to fade, created a rectangle with the same bg as my movie, and played with the alpha of that.