1 Reply Latest reply on Aug 11, 2008 7:51 AM by Michael Borbor

    ListEvent.ITEM_DOUBLE_CLICK - how to?

    anoweb Level 1
      I have a list that I create in actionscript and add to a VBox. I add an event listener to catch the "ListEvent.ITEM_DOUBLE_CLICK"...but it never gets invoked.

      var tmp:List = new List();
      tmp.addEventListener(ListEvent.ITEM_DOUBLE_CLICK, onDoubleClick);

      vbox.addChild(tmp);

      private function onDoubleClick(e:ListEvent):void {
      Alert.show("double clicked");
      }

      I can catch the ListEvent.ITEM_CLICK event but not the double click, any ideas??