ive tried using the loop as NO Double quotes and using a bracket around it too? 
im not having much luck anyone know a way to do this in a for loop NOT foreach.


ALSO TRIED                       funfair_tab_challenge[i]_no.selected=false;



 public function funfair_tab_select(selectwhich){

                if(selectwhich='yes'){

                        for(var i:Number = 1; i < 6; i++){
                         "funfair_tab_challenge" + i + "_no.selected"=false;
                          "funfair_tab_challenge" + i + "_yes.selected"=true;
                        }

                }else{
                        for(var i:Number = 1; i < 6; i++){
                          "funfair_tab_challenge" + i + "_no.selected"=true;
                          "funfair_tab_challenge" + i + "_yes.selected"=false;
                        }

                }
                
           } 






________________________________________


type_D

Reply via email to