# Loading external text file

**URL:** https://forum.kirupa.com/t/loading-external-text-file/89181
**Category:** Uncategorized
**Created:** [May 5, 2005, 6:17pm UTC](https://forum.kirupa.com/t/loading-external-text-file/89181 "2005-05-05T18:17:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jusko](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jusko](https://forum.kirupa.com/u/jusko)
#### Post date: [May 5, 2005, 6:17pm UTC](https://forum.kirupa.com/t/loading-external-text-file/89181/1 "2005-05-05T18:17:44Z")

</div>

Hey!!!  
I did the tutorial that teach to load text from external file, but the text just doesnt load. It works on my computer but when i upload to the server it just dont work. i use the following code:

loadText = new LoadVars();  
loadText.load(“30abril.txt”);  
loadText.onLoad = function() {  
equipas.text = this.equipas;  
golos.text = this.golos;  
local.text = this.local;  
pontos2.text = this.pontos2;  
parte1.text = this.parte1;  
parte2.text = this.parte2;  
convocados.text = this.convocados;  
marcador.text = this.marcador;  
};  
can someone help!!!

thanks
