# Embedded Text not reading HTML

**URL:** <https://forum.kirupa.com/t/embedded-text-not-reading-html/173024>\
**Category:** flash\
**Created:** [December 20, 2005, 2:42pm UTC](https://forum.kirupa.com/t/embedded-text-not-reading-html/173024 "2005-12-20T14:42:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![opel](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/opel/32/199_2.png) [@opel](https://forum.kirupa.com/u/opel)\
**Post date:** [December 20, 2005, 2:42pm UTC](https://forum.kirupa.com/t/embedded-text-not-reading-html/173024/1 "2005-12-20T14:42:14Z")

</div>

I am loding text into a SWF file externally. As this swf is then loaded into another swf behind a mask I have had to embed the font. When I enclose my text files in HTML tags Flash is not reading them?

This is the code I am using on my Text boxes:

```auto
onClipEvent (load) {
	{
    loadText = new LoadVars();
    loadText.load("text/links.txt");
    loadText.onLoad = function(success) {
        if (success) {
            // trace(success);
            linksBox.html = true;
            linksBox.htmlText = this.myLinks;
        }
    };
}
}

```

when I do not embed the text it all works fine?
