Flash Input Text Question
Flash Input Text Question
- Started
- Last post
- 3 Responses
- fifty50
How do you use input text fields so that it pre-loads with text already in it, but when you click on it it disappears so you can type your own text in there...
for example: designing a contact form so that the input field says "Your Name", and then when the user clicks on it, they can type in their own name without having to delete the existing text.
- unfittoprint0
txt = "initial content";
textBox.text = txt;
textBox.onSetFocus = function() {
if (this.text == txt) {
this.text = "";
}
};
- nick0
i wish i cared enough about flash to have flash questions so unfit could answer them for me all the time..
you rule unfit.
- fifty500
yeah man thanks a lot ;)