0 Replies Latest reply on May 6, 2008 11:04 PM by pandxsg

    Show/hide items in list component possible?

    pandxsg
      Hi all,

      I'm quite a newbie in Flash, and more so in components.

      Currently, I'm working on a project that works in this way: I've got a combo box with 5 items, and a list with 10 items. The combo box works like a filter and when selected on an item, the list should only show items pertaining to the selection. For eg, my 5 items in the combo box are the alphabets A,B,C,D,E. My 50 items in the list are some country names. So when "C" in the combo box is selected, the list should display countries starting with C, like Canada, China, and so on..

      Let's say my indexes for C in the list are 10-15, is it possible to hide items with index 0-9, and 16-49? I tried searching but it seems there isn't a show/hide function for list components.