Problem with overlaying text fields - code inside

hello,
i have the following problem:

on a page, i have 2 buttons, which should make an english and a german version of a text from an external text file appear in a text field. the position of the text field should be the same for both versions.

i want the english version to go away, when the english appears and vice versa.

however - once i press the german button the german version appears, but as soon as i press the other button the other text field simply overlays teh other one - making everything unreadable gibberish.

code for the actions is as below:


englishbutton.onPress = function () {
loadText = new LoadVars();
loadText.load(“cvenglish.txt”);
loadText.onLoad = function() {
scrollerenglish.text = this.englishcv;
};
}
deutschbutton.onPress = function () {
loadText = new LoadVars();
loadText.load(“cvgerman.txt”);
loadText.onLoad = function() {
scrollergerman.text = this.germancv;
};
}

what did i do wrong? what command do i need to use to stop them from overlaying?

pls help me :slight_smile:

thanks!
dredd