I would like to know how to make a DateField control with a watermark. I want to set the prompt/watermark text from MXML like this one:
<mx:DateField id="id_date" propmt="Select date" />
Use this
<mx:DateField id="df" text="Select Date" focusIn="df.text=''" />
OR
Refer This Blog for custom datefield component
WaterMarkDateField