【发布时间】:2013-10-12 18:40:25
【问题描述】:
我的 flex 应用程序中有一个列表,其中包含 requiresSelection = false 和 allowMultipleSelection = true。我在获取所选索引时遇到了问题:它返回为-1。我需要知道在列表中选择了哪些 Items 才能使我的应用程序正常工作。我花了几个小时在网上寻找并尝试不同的方法来让它发挥作用。提前感谢您的帮助。
完整列表代码:
<s:List id="list1" x="10" y="35" width="100" height="400" allowMultipleSelection="true" click="list1Click(event)"
contentBackgroundColor="#696969" dataProvider="{list1Array}" itemRenderer="assets.ListSkinClass"/>
【问题讨论】:
标签: list apache-flex actionscript flex4 flash-builder