The theme question sais it all.
I have an input text-field on the stage that has some text describing text in it before the user types anything. Now, how do I clear this text when the user focuses on (clicks) the field?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Listen for the
FocusEvent.FOCUS_INevent on your textfield and clear it once that fires.http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/events/FocusEvent.html