Hello All,
I desperately need your help. I have created dynamically created check boxes depending on my selection for my android app using the following code snippet.
for(var i:int=0 ; i<data.PromptText.length; i++)
{
chk = new CheckBox();
chk.label= data.PromptText.getItemAt(i);
chk.name=data.ResponsePromptID.getItemAt(i);
chk.addEventListener(MouseEvent.CLICK,ClickEvent);
chk.width = 1000;
chk.height = 50;
addElement(chk);
}
Now after click on each check box, I need to check which check box of the list of check boxes created ?
Please help me, this is driving me nuts.