# How should I customize the code to work in mx 2004

**URL:** <https://forum.kirupa.com/t/how-should-i-customize-the-code-to-work-in-mx-2004/177977>\
**Category:** Uncategorized\
**Created:** [February 6, 2006, 10:37pm UTC](https://forum.kirupa.com/t/how-should-i-customize-the-code-to-work-in-mx-2004/177977 "2006-02-06T22:37:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingadow](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kingadow/32/1654_2.png) [@kingadow](https://forum.kirupa.com/u/kingadow)\
**Post date:** [February 6, 2006, 10:37pm UTC](https://forum.kirupa.com/t/how-should-i-customize-the-code-to-work-in-mx-2004/177977/1 "2006-02-06T22:37:31Z")

</div>

this code was in one of the tutorials for loading external text with buttons, but it does not work in mx 2004. any suggestions? thanks, Kinga

loadText.onLoad = function(success) {  
if (success) {  
// trace(success);  
newsBox.html = true;  
newsBox.htmlText = this.myNews;  
}  
};  
}
