3 Replies Latest reply on Mar 8, 2007 2:04 PM by kglad

    array holds instance name

    jonnybennett Level 1
      I am looping through an array which holds the instance name of a checkbox. Therefore the following code should check the correct checkbox.

      for (p=0;p<categories.length;p++){
      mc1.mc2.categories[p].selected=true;}

      however I don't think that I can right the expression with an array as part of the instance name.
      I know the array works fine and that the checkboxs are correctly addressed, therefore is there a way to change the code to work? .... thanks!