我有一个循环访问远程数据库结果的函数,它创建了许多用户可以选择的复选框。
for(var i:int = 0; i < resultsArray.length; i++)
{
this.checkOption = new Check();
this.checkOption.x = this.textQuad.x + 3;
this.checkOption.y = this.textQuad.y + 3;
this.checkOption.name = resultsArray[i].groupID;
}
我还有一个按钮来提交所有选定的支票。我的问题是如何在 TRIGGERED 事件中获取所有选定的检查名称/值?