# Load Dynamic Text from Different Folder

**URL:** <https://forum.kirupa.com/t/load-dynamic-text-from-different-folder/182020>\
**Category:** flash\
**Created:** [March 14, 2006, 10:42pm UTC](https://forum.kirupa.com/t/load-dynamic-text-from-different-folder/182020 "2006-03-14T22:42:15Z")\
**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 14, 2006, 10:42pm UTC](https://forum.kirupa.com/t/load-dynamic-text-from-different-folder/182020/1 "2006-03-14T22:42:15Z")

</div>

I need help making this work… I have a movie setup to load text from a text file (the variable name 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("mocktrial.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/mocktrial.swf", "blank_mc")

```

How do I make this work?
