# Loading text from external sources

**URL:** https://forum.kirupa.com/t/loading-text-from-external-sources/106300
**Category:** Uncategorized
**Created:** [April 4, 2004, 11:03am UTC](https://forum.kirupa.com/t/loading-text-from-external-sources/106300 "2004-04-04T11:03:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![guinness](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@guinness](https://forum.kirupa.com/u/guinness)
#### Post date: [April 4, 2004, 11:03am UTC](https://forum.kirupa.com/t/loading-text-from-external-sources/106300/1 "2004-04-04T11:03:49Z")

</div>

i can load text, but not so that it will change when a button is clicked (load a different file.)

there are two tutorials on this issue in the tutorial section

[http://www.kirupa.com/developer/mx/multiple\_dynamictext.htm](http://www.kirupa.com/developer/mx/multiple_dynamictext.htm)  
[http://www.kirupa.com/developer/mx/externaldata.htm](http://www.kirupa.com/developer/mx/externaldata.htm)

both of which supply final sources and both of which have errors.

**Warning** Scene=Scene 1, layer=action, frame=1:Line 1: Case-insensitive identifier ‘loadVars’ will obscure built-in object ‘LoadVars’.  
loadText = new loadVars();  
Total ActionScript Errors: 1 Reported Errors: 1

the loadVars error is in both of them.  
what is the answer?  
I am using MX2004
