Could you please give me the code for “TextInput Clear on Mouse Click”
Here is my test :-
import fl.controls.TextInput;
var ti:TextInput = new TextInput();
addChild(ti);
ti.text = "Hello World";
ti.addEventListener(Event.CHANGE, textEntered);
function textEntered(e:Event){
ti.text = "";
}
It is not working with mouse click… plss help me…