userName.text = "Enter Name";
var checkId = setInterval(func, 100);
var firstTime = true;
function func()
{
if(firstTime)
{
if(userName.text != "Enter Name")
{
userName.text = "";
clearInterval(checkId);
firstTime = false;
}
}
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment