Actionscript 3 Flex dropdownlist不显示项目

Actionscript 3 Flex dropdownlist不显示项目,actionscript-3,flash,apache-flex,actionscript,Actionscript 3,Flash,Apache Flex,Actionscript,我正在开发的应用程序有几个spark DropDownList。如果列表太长且出现滚动条,则列表中会出现“孔”。用滚动条或箭头上下滚动除了正常的滚动外没有其他作用,但是用鼠标滚轮滚动可以解决这个问题 dropdownlist本身的代码为: <s:DropDownList id="yearCombo" dataProvider="{yearDataPro}" change="getAllTicketsInYear()" width="100%" selectedIndex="{select

我正在开发的应用程序有几个spark DropDownList。如果列表太长且出现滚动条,则列表中会出现“孔”。用滚动条或箭头上下滚动除了正常的滚动外没有其他作用,但是用鼠标滚轮滚动可以解决这个问题

dropdownlist本身的代码为:

<s:DropDownList id="yearCombo" dataProvider="{yearDataPro}" change="getAllTicketsInYear()" width="100%" selectedIndex="{selectedYear}" chromeColor="0xFFFFFF"/>


最终的结果是yearDataPro是一个从“2006”到“2015”的字符串数组。

我认为渲染数据提供程序有问题。发布你的对象和dropdownlist这一点我想出来了,只是不知道为什么它不能正确渲染。我使用的是默认皮肤。我已将代码添加到原始帖子中。