actionscript 3 - Flash Builder 4.7 I want the spark TextInput to have an background text like Username. Is there anything ready? -


i spark textinput have background text. sounds should in component , wouldn't want program in ugly way. like, when component not focused shows username different letter style italic example. when press on textinput disappears , show again if there no text. sounds code. there must done already. thanks, david

just use promt property:

<s:textinput prompt="not focused empy text" text="other text" /> 

see more here: http://help.adobe.com/en_us/flex/using/ws19f279b149e7481c-177b1c712d80a315e7-8000.html


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -