How can i adapt this Kirupa tutorial?

Hi,

I have managed to complete the following tutorial [COLOR=DarkOrange]Loading Text from External Sources[/COLOR] and while it works fine, i would like to adapt it to “load” the text from the external file when the movie loads instead of having to click on a button, this is the AS that needs to be changed:

on (release) {
loadText = new loadVars();
loadText.load(“TEXT1.txt”);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
}

i’m guessing that you have to change it to frame loaded or something similiar?

Any ideas please

cheers