Quick Input Text Question

HI Everybody

I know it exists, but I just can’t figure it out.

from the site I created, www.performancescope.com

the login is obviously input text.

How can I have the text disappear when the user clicks into the login field?

Any ideas?

Appreciate it.

Sean

  1. Create an Input Text textfield
  2. Name it input_txt
  3. Add this to the timeline:
input_txt.onSetFocus = function () {
	this.text = "";
};

Awesome. That does the trick.

Thanks for you help, and for teaching me a new command.

It is much appreciated.

Sean

You’re welcome! :thumb: