Macromedia Sample file
Hi,
take a look at this macromedia sample file found here:
C:\Program Files\Macromedia\Flash MX 2004\en\First Run\Samples\TextEnhancements
This should help you to get a basic understanding of changing TextArea content.
Also, here are a few sample commands that are easily found in the help under "Customizing the TextArea component"
componentName.setStyle("fontSize", "10");
componentName.setStyle("fontFamily", "Verdana");
componentName.setStyle("color", "0xff6400");
componentName.setStyle("fontWeight", "bold");
Cheers,
Sean
|