(cs3/as2)
I have an input text put that says name, until you click on it and it goes away. What I’m trying to do is make an if else statement that will have it so when you type in the box and leave box, but want to go back to it, that it won’t erase the text that you already wrote. I’m thinking its gotta be something like text.length or something. Thank you.
current AS: (nameBox is the instance name of the input textfield)
nameBox.onSetFocus=function(){
nameBox.text="";
}