Cannot render textbox text as html

hi all :slight_smile:

i have an mc with a textbox which i’m loading with data from an external text file. the box is set to ā€˜render as html’ but the tags in the text file are being ignored.

(i’ve tried everything i can think of, including starting from scratch several times…)

is there something that i’m missing, or is flash just playing up?

To assign HTML formatted text to the TextField, you use the htmlText property. :wink:
[AS]loadHandler = function (success) {
if (success) {
// load data into textbox
textBox.htmlText = this.text;
} else {
gotoAndStop(ā€œerrorā€);
}
};[/AS]

thanks so much… i was up for hours last night trying to get it to work!!
:p:

Hehe - No problem. :stuck_out_tongue: