When we are working on ComboBox control in Flex we give a default value to it so that the user using the Control is Prompted with some message. The default value like “select a product” …. something like that for the user Interface to select a value from the list. So to set this we can use a existing property in the ComboBox control called “prompt”.Example is given below.
<mx:ComboBox x=”89″ y=”299″ width=”240″ prompt=”Select Product..” labelField=”@PRO” dataProvider=”{arrColl}” id=”cmbStatus” ></mx:ComboBox>
As you can see the property usage in the control and the dataProvider is the ArrayCollection [An Example].
Enjoy the new Property in ComboBox control. And Enjoy the code.

This image shows the property.
Posted by kumargandhi 