# Cannot render textbox text as html

**URL:** https://forum.kirupa.com/t/cannot-render-textbox-text-as-html/29284
**Category:** Uncategorized
**Created:** [August 25, 2003, 8:10am UTC](https://forum.kirupa.com/t/cannot-render-textbox-text-as-html/29284 "2003-08-25T08:10:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![j0se](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/j0se/32/44_2.png) [@j0se](https://forum.kirupa.com/u/j0se)
#### Post date: [August 25, 2003, 8:10am UTC](https://forum.kirupa.com/t/cannot-render-textbox-text-as-html/29284/1 "2003-08-25T08:10:20Z")

</div>

hi all 🙂

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?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 25, 2003, 8:14am UTC](https://forum.kirupa.com/t/cannot-render-textbox-text-as-html/29284/2 "2003-08-25T08:14:39Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 25, 2003, 8:58am UTC](https://forum.kirupa.com/t/cannot-render-textbox-text-as-html/29284/3 "2003-08-25T08:58:46Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 25, 2003, 9:00am UTC](https://forum.kirupa.com/t/cannot-render-textbox-text-as-html/29284/4 "2003-08-25T09:00:54Z")

</div>

Hehe - No problem. 😛
