2 Replies Latest reply on Aug 17, 2007 9:57 AM by jfillman

    DragEvent.DRAG_OVER help

    jfillman
      I have a TextArea that I add programaticaly addChild(myTextArea) to a Canvas like this:

      myTextArea.addEventListener(DragEvent.DRAG_OVER,onDragOver,false,0,true);

      It's likely that I'm not understanding what this is supposed to do, but I expect this to call the onDragOver() function whenever something is dragged over my TextArea. Either this is not correct, or I am not doing it correctly, because my function is not getting called. Ultimately, I need to call a function whenever something is dragged over myTextArea. How do I accomplish this?