# Dynamic text in mc

**URL:** <https://forum.kirupa.com/t/dynamic-text-in-mc/8235>\
**Category:** Uncategorized\
**Created:** [November 16, 2002, 1:11pm UTC](https://forum.kirupa.com/t/dynamic-text-in-mc/8235 "2002-11-16T13:11:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![parabol](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@parabol](https://forum.kirupa.com/u/parabol)\
**Post date:** [November 16, 2002, 1:11pm UTC](https://forum.kirupa.com/t/dynamic-text-in-mc/8235/1 "2002-11-16T13:11:54Z")

</div>

somone give me a hand with this…im having trouble getting the proper text to appear in the dynamic text field.  
on the maintimeline i have this  
loadText = new loadVars();  
loadText.load(“stats.txt”);  
loadText.onLoad = function() {  
\_root.main.stats76.season.text = this.season;  
};  
and no matter what it never loads the text into the movie clip main,stats76 then into the text field with the variable name season.  
now for the hell of it i through the text field on the main timline…just to see if the code works… and it did but i manipulated the code to look this way…

loadText = new loadVars();  
loadText.load(“stats.txt”);  
// creating the loadVarsText function  
loadText.onLoad = function() {  
season.text = this.season;  
}; (season is the name of the dynamic textfile…also the instance name just in case;))  
that worked but atlas i need it 2 movieclips deep.🙂 please someone give me a hand on this quick;)

---

<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:** [November 16, 2002, 4:09pm UTC](https://forum.kirupa.com/t/dynamic-text-in-mc/8235/2 "2002-11-16T16:09:18Z")

</div>

Yes there are some problems about dynamic text.

Also when you mask one, it does not appaers in the mask, do you know why? :elderly:

---

<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:** [November 16, 2002, 4:15pm UTC](https://forum.kirupa.com/t/dynamic-text-in-mc/8235/3 "2002-11-16T16:15:05Z")

</div>

i know u cant mask a graphic ina button but as a movie clip i thoguht thats ok? god im tired…oh mask a dynamic text…got me
