# Text path problem

**URL:** https://forum.kirupa.com/t/text-path-problem/234570
**Category:** Uncategorized
**Created:** [August 3, 2007, 1:18pm UTC](https://forum.kirupa.com/t/text-path-problem/234570 "2007-08-03T13:18:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![xmlhelp](https://avatars.discourse-cdn.com/v4/letter/x/aeb1de/32.png) [@xmlhelp](https://forum.kirupa.com/u/xmlhelp)
#### Post date: [August 3, 2007, 1:18pm UTC](https://forum.kirupa.com/t/text-path-problem/234570/1 "2007-08-03T13:18:55Z")

</div>

Hi,

I’m trying to load the content of a .txt file dynamically… If I leave the .txt file in the same root with the .swf it works perfectly, but I tried moving the .txt files into another folder and it stopped working… I’m not sure what I’m doing wrong, can someone help me out with this one ?

This is my code:

```auto
var path ="/info/myInfo.txt";

var my_lv = new LoadVars();
my_lv.onLoad = function(success) {
    if (success) {
        // actions go here...
    } else {
        trace("error load text files");
    }
};
my_lv.load(path);

```

“info” is the name of the folder the .txt file is in… I even tried upload it to my server and giving the absolute address like [http://www.mydomain.com/info/myinfo.txt](http://www.mydomain.com/info/myinfo.txt) but nothing…

I have no idea how to solve this…
