# Loading txt file with html tags

**URL:** https://forum.kirupa.com/t/loading-txt-file-with-html-tags/26363
**Category:** Uncategorized
**Created:** [July 22, 2003, 10:58am UTC](https://forum.kirupa.com/t/loading-txt-file-with-html-tags/26363 "2003-07-22T10:58:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bsprathapsimha](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bsprathapsimha](https://forum.kirupa.com/u/bsprathapsimha)
#### Post date: [July 22, 2003, 10:58am UTC](https://forum.kirupa.com/t/loading-txt-file-with-html-tags/26363/1 "2003-07-22T10:58:58Z")

</div>

hi,

can I load external text file with html tags into flash?

For example:

There is a text filed with declared html tags such as bold, italics, size, font and other simple tags. After loading the text file into the rendered html text field in flash, its loading the text and html tags as string.

Is there any way to go for this?

thanking you,  
Prathap

---

<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: [July 22, 2003, 11:08am UTC](https://forum.kirupa.com/t/loading-txt-file-with-html-tags/26363/2 "2003-07-22T11:08:09Z")

</div>

```auto
myText = "<B>this is BOLD text</B>"
myTextBox.html = truel
myTextBox.htmlText = myText

```

This code goes on a frame, and the var name of your dynamic text box is “myTextBox”.

---

<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: [July 22, 2003, 12:00pm UTC](https://forum.kirupa.com/t/loading-txt-file-with-html-tags/26363/3 "2003-07-22T12:00:35Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?threadid=29157&highlight=html](http://www.kirupaforum.com/forums/showthread.php?threadid=29157&highlight=html) 🙂
