2 Replies Latest reply on Jul 13, 2012 7:45 AM by jexer

    draggedItem null on DragEvent.DRAG_DROP,

    lw1001
      Hi,
      I'm trying to get a reference to the dropped item on DRAG_DROP, but it's null. I'm dragging from one list to another. The event handler code looks like this:

      private function handle_drop(event:DragEvent):void
      {
      var drug:Object = event.draggedItem;
      Alert.show(""+drug);
      }
      which displays "null" in the alert box. Can someone tell me what I'm doing wrong? Same thing happens on DRAG_START.

      thanks