//下拉框的数据集 public static var fileNameTypeDropDownList:ArrayCollection = new ArrayCollection([ {id:0,label:'Flag文件'}, {id:1,label:'固定文件名'}, {id:2,label:'正则表达式'} ]); //获取DropDownList选中元素的索引 public static function getSelectedIndexByResult(list:ArrayCollection, key:String, result:Object):int{ var selectedIndex:int = 0; try{ for(var i:int = 0; i
Flex里DropDownList默认值记录
//下拉框的数据集 public static var fileNameTypeDropDownList:ArrayCollection = new ArrayCollection([ {id:0,label:'Flag文件'}, {id:1,label:'固定文件名'}, {id:2,label:'正则表达式'} ]); //获取DropDownList选中元素的索引 public static function getSelectedIndexByResult(list:ArrayCollection, key:String, result:Object):int{ var selectedIndex:int = 0; try{ for(var i:int = 0; i
最新评论