Quantcast
Channel: Adobe Community : Popular Discussions - Using Flash Builder
Viewing all articles
Browse latest Browse all 70427

Dynamic check box status android app

$
0
0

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.


Viewing all articles
Browse latest Browse all 70427

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>