# Dynamic text

**URL:** <https://forum.kirupa.com/t/dynamic-text/155658>\
**Category:** Uncategorized\
**Created:** [July 19, 2005, 2:05pm UTC](https://forum.kirupa.com/t/dynamic-text/155658 "2005-07-19T14:05:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sudharani](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Sudharani](https://forum.kirupa.com/u/Sudharani)\
**Post date:** [July 19, 2005, 2:05pm UTC](https://forum.kirupa.com/t/dynamic-text/155658/1 "2005-07-19T14:05:52Z")

</div>

hey…i again got a problem…i am trying to load dynamic text from text files usng buttons(on click).

This is the script and the warning I got.I am using flash MX 2004.donnow why i am getting this warning???  
on(release){  
loadText = new loadVars();  
loadText.load(“TEXT1.txt”);  
loadText.onLoad = function(success) {  
if (success) {  
// trace(success);  
appbox.html = true;  
appbox.htmlText = this.myNews;  
}  
};  
}

**Warning** Scene=Scene 1, layer=Layer 1, frame=1:Line 6: The identifier ‘loadVars’ will not resolve to built-in object ‘LoadVars’ at runtime.  
loadText = new loadVars();

CAN SOMEONE PLEASE HELP ME OUT???
