Avatar of Tomsaunders
Tomsaunders

asked on 

Input text box with default text

Hi Everybody,

I'm sure we've all seen it before - you know when you see an input text field in a form and it has text inside it, but when you click the text box, the text disappears and you fill in your own text.

I can find how it's done in HTML, but is there a way of doing it in ActionScript 2?

My text box has the instance name "textBox".

The default text I would like is "What is your name?".

Please help!

Many thanks,

Tom

Adobe Flash

Avatar of undefined
Last Comment
Tomsaunders
ASKER CERTIFIED SOLUTION
Avatar of Aneesh Chopra
Aneesh Chopra
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Tomsaunders
Tomsaunders

ASKER

Aneesh!

Thank you again. Another swift and accurate reply!

I was sitting here for an hour yesterday trying to work it out, without having to ask EE, but I gave in and you delivered.

Many thanks,

Tom
Adobe Flash
Adobe Flash

Adobe Flash (formerly Macromedia Flash) is a cross-platform multimedia and software platform used to embed animations, video, and interactive applications into web pages and desktop and mobile applications and games. Flash displays text, vector and raster graphics to provide animations, video games and applications. It allows streaming of audio and video, and can capture mouse, keyboard, microphone and camera input. The ActionScript programming language allows creation of interactive animations, video games, web applications, desktop applications and mobile applications.

29K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo