# Loading Dynamic Text at Runtime in Nested Movies

**URL:** <https://forum.kirupa.com/t/loading-dynamic-text-at-runtime-in-nested-movies/39704>\
**Category:** flash\
**Created:** [January 10, 2004, 3:04am UTC](https://forum.kirupa.com/t/loading-dynamic-text-at-runtime-in-nested-movies/39704 "2004-01-10T03:04:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ANEWIDEACo](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@ANEWIDEACo](https://forum.kirupa.com/u/ANEWIDEACo)\
**Post date:** [January 10, 2004, 3:04am UTC](https://forum.kirupa.com/t/loading-dynamic-text-at-runtime-in-nested-movies/39704/1 "2004-01-10T03:04:28Z")

</div>

Okay, here’s the deal. HOW DO YOU LOAD DYNAMIC TEXT FROM AN ALTERNATIVE FILE SUCH AS TEXT.TXT INTO A NESTED MOVE FROM THE MAIN MOVIE!!! Also, how do you do the same with Dynamic Text under a mask. Somtimes my dear flash can be a pain. :-/

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 3:59am UTC](https://forum.kirupa.com/t/loading-dynamic-text-at-runtime-in-nested-movies/39704/2 "2004-02-04T03:59:59Z")

</div>

BUMPER!!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 5:00am UTC](https://forum.kirupa.com/t/loading-dynamic-text-at-runtime-in-nested-movies/39704/3 "2004-02-04T05:00:04Z")

</div>

I’m having a similar problem.

I have my mc inside of a component does this matter in the calling of the txt file to that MC

for example:

SWF  
-Component Instance (nRoll)  
-MovieClip Instance (archivedNews)  
-TextField Instance (arNews)

so thus my as looks like this:

[AS]loadText = new LoadVars();  
loadText.onLoad = function(success) {  
if (success) {  
archivedNews.arNews.htmlText = this.news;  
}  
};  
loadText.load(“Data2.txt”);[/AS]

Is this correct?

I would post the fla but the component I am using is the accordion component so I figured that limits.

Case
