# Load External Text

**URL:** <https://forum.kirupa.com/t/load-external-text/171755>\
**Category:** random\
**Created:** [December 7, 2005, 11:31pm UTC](https://forum.kirupa.com/t/load-external-text/171755 "2005-12-07T23:31:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cxn926](https://avatars.discourse-cdn.com/v4/letter/c/91b2a8/32.png) [@cxn926](https://forum.kirupa.com/u/cxn926)\
**Post date:** [December 7, 2005, 11:31pm UTC](https://forum.kirupa.com/t/load-external-text/171755/1 "2005-12-07T23:31:04Z")

</div>

Yes, yes, I know how but…

How do I have it so I don’t have to put thing= text  
in the text file

**Text File:**

```auto
 Chat= testing 

```

**Flash File:**

```auto
loadText = new LoadVars();
loadText.load("chat.txt");
loadText.onLoad = function(success) {
if (success) {
chat.html = false;
chat.htmlText = this.chat;
}
};

```

I hope you know what i Means

Let me say the qeurstion again. I don’t want chat= in the text file

-cxn
