title: as3 checkbox selected in array
body: <p>I have 20 checkbox in array,  not label all checkboxes. And there are 3 dynamic text. All checkbox enabled true. I want, if any checkbox selected, first textfield  selected checkbox name write. second and third selected likewise second and third textfiled write. end of 17 checkbox to get a enabled false </p>
  
  <pre><code>   import fl.controls.CheckBox;
     var arr:Array = [cb1,cb2,cb3,cb4,cb5,cb6,cb7,cb8,cb9,cb10,......]; //20 Checkbox
  
     // how do I find i = selected checkbox in array    
  
     i.addEventListener(MouseEvent.CLICK,myselect);
     function myselect(e:MouseEvent):void{
      trace(i.name);
         if (i.selected==true){
         yaz.text="Select"+" "+i.name;
  }else {yaz.text="";}
  }
  </code></pre>