0 Replies Latest reply on Dec 7, 2006 8:42 PM by >Vee<

    selected index is blank

    >Vee< Level 1
      I cant figure out why the selected/ default value of the comboBox here:
      :::::::::: LIVE EXAMPLE :::::::::::::::
      is blank. Also the labels are correct but the data comes up: undefined
      below is what im using to put the data and labels in the comboBoxes:
      // this is all within a for loop
      var myString:String = tmp_mc.item_cb.mySizes;
      var myArray:Array = myString.split("+");
      var myDP:Array = new Array();
      for (var j:Number = 0; j<myArray.length; j++) {
      myDP.addItem({label:myArray[j], data:myArray[j]});
      }