# Loading external file HTML tags into flash?

**URL:** https://forum.kirupa.com/t/loading-external-file-html-tags-into-flash/19441
**Category:** Uncategorized
**Created:** [April 28, 2003, 8:17am UTC](https://forum.kirupa.com/t/loading-external-file-html-tags-into-flash/19441 "2003-04-28T08:17:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![adham\_a](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@adham\_a](https://forum.kirupa.com/u/adham_a)
#### Post date: [April 28, 2003, 8:17am UTC](https://forum.kirupa.com/t/loading-external-file-html-tags-into-flash/19441/1 "2003-04-28T08:17:04Z")

</div>

hello all

i am trying to load an external .txt file that containes HTML tag into a dynamic text field (with scroll bar).

i used all of the code previously posted on this forum and my final code is:

[AS]

loadText = new loadVars();  
statement.html = true  
loadText.load("…/Photos/199805032.txt");  
loadText.onLoad = function() {  
statement.htmlText = this.message;  
};

[/AS]

statement is the instance name of my text field the problem is that all the text in the txt file that is included in HTML tags such as \< B \> \< /B \> is not showing when the movie is running :q:

while the text which is not included in any text field is showing properly.
