it should be LoadVars, with capital “L”, in:
loadText = new loadVars();
loadText.load("kirupa.txt");
//creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.kirupatext;
that makes it turn blue in the editor…
But the tutorial still works wihout the capitalized “L” and that’s a mystery to me…