1 Reply Latest reply on Jan 31, 2007 10:01 PM by Marghoob Suleman

    How do I do?

    Listat Level 1
      Hi, now I need to know whe the user selects or clicks on any item from a list that has 6 items. Every item has a label and data reference so I need this data reference to do something.

        • 1. Re: How do I do?
          Marghoob Suleman Level 1
          You can add a Listener for this...
          and examples...

          var listListener:Object = new Object();
          listListener.change = function(evt_obj:Object) {
          trace("selectedIndex = " + evt_obj.target.selectedIndex);
          my_list.addEventListener("change", listListener);

          "my_list" is you list instance name