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?


myBut.onRelease = function()
myText.text = “”;

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]

inputTxt.text = "";

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