I am trying to load a text file into a dynamic tex box. I have the following code on each button. There are a total of 3 buttons all going into the same box. But i get this error:

The identifier 'loadVars' will not resolve to built-in object 'LoadVars' at runtime.
loadText = new loadVars();




Here is the code:

on (release) {
loadText = new loadVars();
loadText.load ("meetinfo.txt");
loadText.onLoad = function (success)
{
if (success)
{
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
}