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.