Input Text Box Reset?

Hi - i have a input text box which i use so u can input text, is there a script i can put on a button which will clear what is in the text box?

Ben…

[AS]
myBut.onRelease = function()
{
myText.text = “”;
};
[/AS]

give your input text box an instance name
for this example lets say : [color=yellowgreen]inputTxt[/color]

[color=black]then on your reset button place this code:[/color]

on(press){
inputTxt.text = "";
} 

this is but one of many ways to do this(-: