我有一个对象数组,用作中继器的数据源。
<mx:Repeater id="categoryRepeater" dataProvider="{this.allCategories}">
<mx:HBox>
<mx:Spacer width="20"/>
<mx:CheckBox id="categoryCheckBox" label="{categoryRepeater.currentItem.question}"/>
</mx:HBox>
</mx:Repeater>
我希望能够知道列表中的哪些复选框已被选中,但我不知道该怎么做。我知道我可以在单击时添加一个函数,但我不知道如何判断哪个复选框调用了该函数。