Clearing Input Text

How can you clear an input text field?

Say you have a user type a password in a text field, and if they get it wrong, what’s a way actionscript can clear that text field so the user has a blank field to try and type into again?

I have something like this that doesn’t work:



[LEFT]letrAOne = inputAOne;
if (letrAOne == "A") {
	_root.letterAOne.gotoAndPlay(2);
}
else { inputAOne = "";
	}[/LEFT]