8 Replies Latest reply on Oct 27, 2009 7:42 AM by amosam

    deselect all items from a <s:list


      guys... i´m trying to.. deselect all items of an LIST... with this command


      public function deselect_menu1():void
          this.menu.list.selectedItem = -1;


      but... this give me an error


      RangeError: Index '-1' specified is out of bounds.


      so.. how can i do that?

      deselect alll itemns of a list?