flex中下拉框的实现
<mx:ComboBox id = “combobox” dataProvider = “{deviceCodeType }” editable = “true”>
deviceCodeType = new ArrayCollection();
deviceCodeType.addItem({data:1,label:'编码'});
deviceCodeType.addItem({data:2,label:'名称'});
deviceCodeType.addItem({data:3,label:'网管中网元'});
效果如图