0 Replies Latest reply on Jan 30, 2007 6:04 AM by Manfrons

    ComboBox Items List Invisible

    Manfrons
      I've put on the library a combobox so i can call it at runtime.
      That combo is created inside a movieclip (for effects and so on) and items
      are added at runtime.
      I have the problem that the combo show only the selected item and if i try
      to browse it's content nothing happends...it doesn't open.
      The strange behaviour is that if i click where i suppose to be an item, that
      item become the active item.

      Added a simply portion of code to show that, so you can help me.

      _root.createEmptyMovieClip("mcHolder", _root.getNextHighestDepth());

      with (mcHolder) {
      beginFill(0xFF00FF, 100);
      moveTo(0, 0);
      lineTo(200, 0);
      lineTo(200, 200);
      lineTo(0, 200);
      endFill();
      _x = 100;
      _y = 100;
      }

      mcHolder.createObject("ComboBox", "ccbTest", _root.getNextHighestDepth());

      for (var i:Number = 0; i<10; i++) {
      mcHolder.ccbTest.addItem("val"+i, i);
      }

      How to solve the problem?

      Regards