import fl.controls.ComboBox;
var _combox:ComboBox = new ComboBox();
_combox.addItem({label:"腾讯",data:12});
_combox.addItem( { label:"新浪", data:11 } );
_combox.addItem({label:"网易",data:13});
_combox.addItem({label:"总共",data:36});
_combox.x = 100
_combox.y = 10;
_combox.rowCount =10;
addChild(_combox);

var tf:TextFormat= new TextFormat();
tf.color = 0x00ffff;
tf.font = "宋体";
tf.size = 12;
//设置下拉框默认字体
_combox.textField.setStyle("textFormat",tf);
//设置下拉框List字体;
_combox.dropdown.setRendererStyle("textFormat",tf);
//ComboBox的实例名为selectBox,添加侦听;
_combox.addEventListener(Event.CHANGE, cbListener);
function cbListener(e:Event):void
{

trace(ComboBox(e.target).selectedItem.data);

}