# Loading external text problem (edited title)

**URL:** <https://forum.kirupa.com/t/loading-external-text-problem-edited-title/101795>\
**Category:** Uncategorized\
**Created:** [February 14, 2004, 2:33am UTC](https://forum.kirupa.com/t/loading-external-text-problem-edited-title/101795 "2004-02-14T02:33:12Z")\
**Posts on this page:** 4\
**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/101795/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 19, 2004, 4:48pm UTC](https://forum.kirupa.com/t/loading-external-text-problem-edited-title/101795/2 "2004-02-19T16:48:20Z")

</div>

I have the same problem - I recieve this message -

**Warning** Scene=aboutus, layer=text, frame=1:Line 2: The identifier ‘loadVars’ will not resolve to built-in object ‘LoadVars’ at runtime.  
loadText = new loadVars();

Total ActionScript Errors: 1 Reported Errors: 1

any ideas?

---

<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 19, 2004, 4:58pm UTC](https://forum.kirupa.com/t/loading-external-text-problem-edited-title/101795/3 "2004-02-19T16:58:52Z")

</div>

Watch for the capital L:

```auto
new **L** oad Vars();

```

---

<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 19, 2004, 6:59pm UTC](https://forum.kirupa.com/t/loading-external-text-problem-edited-title/101795/4 "2004-02-19T18:59:40Z")

</div>

Don’t forget to remove the space inbetween 😉
