Unload text

Hej hej!
I want to load external txt files into my movie. I used this code:

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

This worked perfect. The only problem i have is that i want to upload different txt files. When another txt file is uploaded the first one has to be “unloaded”.

Can someone explain how i do that.

scroller.variable = scVar
loadText = new loadVars();

// to load in the first file:
loadText.onLoad = function() {
scVar = this.testtext;
}
loadText.load("test.txt");


// to reload a different file:
loadText.onLoad = function() {
scVar = this.anotherfilestext;
}
loadText.load("anotherfile.txt");