Clear textbox on rolloff..?

Hi again, i’d just like to start off saying that these forums are super-helpful :slight_smile:

I’m having trouble with textboxs. I have text loaded randomly from a .txt file on the rollover of a button:


 on (rollOver) {
 	loadText = new loadVars();
 	loadText.load("txtfile.txt");
 	loadText.onLoad = function(OK) {
 		if (OK) {
 			myText.Text = this["text"+(Math.floor(Math.random()*4)+1)];
 		}
 	};
 }
 

But i need myText box to clear once the mouse is rolled off. So…i just thought it would be something simple like:


 on(rollOut) {
 	myText = "";
 {
 

But, it doesn’t work at all. What’s my problemo? :huh: