# Load Dynamic Text from Different Folder

**URL:** <https://forum.kirupa.com/t/load-dynamic-text-from-different-folder/182038>\
**Category:** Uncategorized\
**Created:** [March 15, 2006, 12:57am UTC](https://forum.kirupa.com/t/load-dynamic-text-from-different-folder/182038 "2006-03-15T00:57:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DirtyApe](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@DirtyApe](https://forum.kirupa.com/u/DirtyApe)\
**Post date:** [March 15, 2006, 12:57am UTC](https://forum.kirupa.com/t/load-dynamic-text-from-different-folder/182038/1 "2006-03-15T00:57:27Z")

</div>

I need help making this work… I have a movie setup to load text from a text file (the variable is “description”) into a dynamic textbox with instance name “content”. The actionscript is below:

```auto
myData = new LoadVars();
myData.onLoad = function(success){
 if (success) {
  content.text = this.description;
 } else {
  content = "error loading text content";
 }
}
myData.load("content.txt");
stop();

```

This works perfectly when I just play this movie. The movie and text file are located inside a folder titled “Content”.  
But when I try to load this movie into a movieclip in my main movie, the dynamic text does not load. The main movie has the following code:

```auto
loadMovie("Content/content.swf", "blank_mc")

```

How do I make this work?
