Why am I getting this error:
Warning Scene=website, layer=load actions, frame=1:Line 1: The identifier ‘loadVars’ will not resolve to built-in object ‘LoadVars’ at runtime.
loadText = new loadVars();
Total ActionScript Errors: 1 Reported Errors: 1
My code looks like this:
loadText = new loadVars();
loadText.load(“news.txt”);
loadText.onLoad = function(success)
{
if (success)
{
newsBox.html = true;
newsBox.htmlText = this.news;
}
};