Scrolling Dynamically Loaded Text by kirupa chinnathambi

Alright I’m trying to work through this tutorial, but I’m not having success. Here is the link: http://www.kirupa.com/developer/mx/dynamic_scroller.htm. Ok I create an .fla that is going to be loaded as an external swf.

First frame I label text, and I draw a dyanmic text box - instance name: scroller - select multiline, and enable scrolling.

I also put a two buttons on the layer to scroll the text. (Also tried it with the component UIscrollbar) Actions on the button are:

on (press) {
onEnterFrame = function() {
this.scroller.scroll -= 1;
}
}
on (release, releaseOutside) {
delete onEnterFrame;
}

Second layer I put a border.

Third layer I put my actions:

loadText = new loadVars();
loadText.load(“about.txt”);
//creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.abouttext;
};

Then I create a txt file with notepad, save it as about.txt and put the lind abouttext= on the top line of the text file.

I test my movie and I get this error message:

Warning Scene=Scene 1, layer=actions, frame=1:Line 3: The identifier ‘loadVars’ will not resolve to built-in object ‘LoadVars’ at runtime.
loadText = new loadVars();
Total ActionScript Errors: 1 Reported Errors: 1

Any clue on what to do?

Thanks,

nofx1728