[Flash 8] Help! Issues with dynamically loaded scrolling text

I’m fairly new to action script so this might be me being simple but:

I followed the [SIZE=2][FONT=Verdana][COLOR=#003366]Scrolling[/COLOR][/FONT][/SIZE][FONT=Verdana][SIZE=2][COLOR=#003366] Dynamically Loaded Text [COLOR=Black]tutorial and added it to my flash movie and although it works perfectly in the tests and once published once it loads in the browser all I get is the word undefined at the top of the text box.
I’ve searched all over for a solution but as I said my understanding of action script is fairly limited.
The script I’m using is:

loadText = new LoadVars();
//creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.hometext;

Any help would be greatfully recieved.