Problem with Dynamic Text

Hello to all, I’m a new user who just stumbled onto the site when i searched for anyone other than Macromedia to help me with flash. here’s my problem;

I’m trying to load dynamic text into a textbox named intbox

with this code, which I grabbed from this site and modified slightly for my use

loadText = new loadVars();
loadText.load(“intro.txt”);
//creating the loadVarsText function
loadText.onLoad = function() {
intbox.text = this.introtext;
};

but I keep getting this message;

Warning Scene=Scene 1 fade, layer=dynamic text, 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

can anyone possibly tell me why?

thanks in advance,

Sim