# Loading external text problem (edited title)

**URL:** <https://forum.kirupa.com/t/loading-external-text-problem-edited-title/42882>\
**Category:** flash\
**Created:** [February 14, 2004, 2:33am UTC](https://forum.kirupa.com/t/loading-external-text-problem-edited-title/42882 "2004-02-14T02:33:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jako](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@Jako](https://forum.kirupa.com/u/Jako)\
**Post date:** [February 14, 2004, 2:33am UTC](https://forum.kirupa.com/t/loading-external-text-problem-edited-title/42882/1 "2004-02-14T02:33:12Z")

</div>

I was doing this tutorial  
[http://www.kirupa.com/developer/mx/multiple\_dynamictext.htm](http://www.kirupa.com/developer/mx/multiple_dynamictext.htm)

and i swear i did every thing how it said, and when i click on the button the text doesnt load

here is the AS for the first button

on (release) {  
loadText = new loadVars();  
loadText.load(“TEXT1.txt”);  
loadText.onLoad = function(success) {  
if (success) {  
// trace(success);  
newsBox.html = true;  
newsBox.htmlText = this.myNews;  
}  
};  
}

and yes i already made my text1.txt document and its in the same folder as the flash files…

---

<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:** [February 14, 2004, 2:54am UTC](https://forum.kirupa.com/t/loading-external-text-problem-edited-title/42882/2 "2004-02-14T02:54:49Z")

</div>

Please, use better titles for your threads.

And have you given an instance name of _newsBox_ to your textfield?

---

<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:** [February 14, 2004, 2:59am UTC](https://forum.kirupa.com/t/loading-external-text-problem-edited-title/42882/3 "2004-02-14T02:59:57Z")

</div>

yes i have give the instance name to the textfield and sry bout the title thx for fixing

---

<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:** [February 14, 2004, 3:02am UTC](https://forum.kirupa.com/t/loading-external-text-problem-edited-title/42882/4 "2004-02-14T03:02:03Z")

</div>

Your textfile should have the name _TEXT1.txt_and it should look like this:

```auto
myNews=bla bla bla bla bla

```

---

<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:** [February 14, 2004, 4:20am UTC](https://forum.kirupa.com/t/loading-external-text-problem-edited-title/42882/5 "2004-02-14T04:20:53Z")

</div>

it does…
