# Problem Loading Text from External Sources (?)

**URL:** <https://forum.kirupa.com/t/problem-loading-text-from-external-sources/131263>\
**Category:** Uncategorized\
**Created:** [December 14, 2004, 3:03am UTC](https://forum.kirupa.com/t/problem-loading-text-from-external-sources/131263 "2004-12-14T03:03:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pappageo](https://avatars.discourse-cdn.com/v4/letter/p/6de8d8/32.png) [@pappageo](https://forum.kirupa.com/u/pappageo)\
**Post date:** [December 14, 2004, 3:03am UTC](https://forum.kirupa.com/t/problem-loading-text-from-external-sources/131263/1 "2004-12-14T03:03:47Z")

</div>

there is probably a very simple explaination for this but i am pretty new to flash and actionscript so here it goes…

i used this tutorial ( [http://www.kirupa.com/developer/mx/multiple\_dynamictext.htm](http://www.kirupa.com/developer/mx/multiple_dynamictext.htm) ) to load text from an external source but am getting an error,

the button i am using also needs to load a picture (some code which i got from another thread on these forums) so maybe there a conflict with the code?

heres the code i am using for the button

```auto
 
on (release) {
 containerMC.loadPic("[http://webzoom.freewebs.com/pappageorgas/posterFull.jpg](http://webzoom.freewebs.com/pappageorgas/posterFull.jpg)");
 }
on (release) {
	loadText = new loadVars();
	loadText.load("text1.txt");
	loadText.onLoad = function(success) {
		if (success) {
			// trace(success);
			imageInfo.html = true;
			imageInfo.htmlText = this.mytext;
		}
	};
}
 

```

and here is the error i recieve

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

anyone have any ideas???  
thanks!
