# loadVars for HTML text AS2.0

**URL:** <https://forum.kirupa.com/t/loadvars-for-html-text-as2-0/294264>\
**Category:** flash\
**Created:** [August 11, 2009, 4:37pm UTC](https://forum.kirupa.com/t/loadvars-for-html-text-as2-0/294264 "2009-08-11T16:37:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeancnicolas](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Post date:** [August 11, 2009, 4:37pm UTC](https://forum.kirupa.com/t/loadvars-for-html-text-as2-0/294264/1 "2009-08-11T16:37:01Z")

</div>

Hey there … so ive just been fiddling with a loadVars to load in some html text, into my dynamic text box, with render as html button tagged.  
Umm … it only loads in a certain amount of my text file (which is a .txt – and my fonts have been embedded)./.

```auto
var textData:LoadVars = new LoadVars();
textData.onLoad = function()
{
    area_txt.htmlText += this.content;
}
textData.load("news.txt");

```

my text file looks a little like this:::

content=\<p\>blar blar for a few lines\</p\>

And yeah, it just doesnt load in all the wonderful text I have written. I must have done something horribly wrong!?:sonic:

great if someone could clip my ear for me …
