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???