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: