# External TXT problem

**URL:** <https://forum.kirupa.com/t/external-txt-problem/144517>\
**Category:** Uncategorized\
**Created:** [April 14, 2005, 9:57pm UTC](https://forum.kirupa.com/t/external-txt-problem/144517 "2005-04-14T21:57:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bob\_rock](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@bob\_rock](https://forum.kirupa.com/u/bob_rock)\
**Post date:** [April 14, 2005, 9:57pm UTC](https://forum.kirupa.com/t/external-txt-problem/144517/1 "2005-04-14T21:57:10Z")

</div>

Hello!

aaaaahhh…I’m making flash weab site… I made it so some buttons will load dynamicly text into text boxes…  
Now the problem : I’m using this script for loading :  
myData = new LoadVars();  
loadText = new LoadVars();  
loadText.load(“poslusnost.txt”);  
loadText.onLoad = function() {  
box.text = this.vsebina;  
};  
Everything works fine until I upload my page on web server and change path of my file (poslusnost.txt) into the path on the server in my case  
“[http://www.kd-kocevje.all-global.com/poslusnost.txt](http://www.kd-kocevje.all-global.com/poslusnost.txt)”  
The path is wright i know that becouse I tried the path in my web browser and the file is displayed normaly…??:tired: The message from Flash is “undefined”…??
