# Load text from a button in a mc?

**URL:** <https://forum.kirupa.com/t/load-text-from-a-button-in-a-mc/30499>\
**Category:** Uncategorized\
**Created:** [September 9, 2003, 6:47pm UTC](https://forum.kirupa.com/t/load-text-from-a-button-in-a-mc/30499 "2003-09-09T18:47:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dethroner](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@Dethroner](https://forum.kirupa.com/u/Dethroner)\
**Post date:** [September 9, 2003, 6:47pm UTC](https://forum.kirupa.com/t/load-text-from-a-button-in-a-mc/30499/1 "2003-09-09T18:47:36Z")

</div>

How come I can load text into a dynamic text box with a button on the same layer as the box but when I put the same AS on a invisible button on a scrolling thumbnail mc it doesnt load? Thank You  
[AS]on (release) {  
loadMovie(“images/01.jpg”, “\_root.holder”);  
}  
on (release) {  
loadText = new loadVars();  
loadText.load(“picturetext/Text1.txt”);  
loadText.onLoad = function(success) {  
if (success) {  
// trace(success);  
textbox.html = true;  
textbox.htmlText = this.picturetext;  
}  
};  
}[/AS]
