1 Reply Latest reply on Aug 24, 2009 12:23 AM by emansouri

    Getting Rid of "Green Plus" and "Red X" in Drag/Drop Operation

    emansouri

      In a List-based control, what is the easiest way to suppress the drop accept/unaccept icons from appearing?  Specifically, the "green plus sign" and the "red X".

       

      I have found examples that recommend calling DragManager.showFeedback(DragManager.NONE) to overridden dragStartHandler and dragOverHandler methods yet this doesn't seem to work.

        • 1. Re: Getting Rid of "Green Plus" and "Red X" in Drag/Drop Operation
          emansouri Level 1

          As a follow-up to this, I have found that I can override dragOverHandler:

           

          override protected function dragOverHandler(event:DragEvent):void

          {

           

          super.dragOverHandler(event);

           

          if(showFeedback)

          {

          DragManager.showFeedback(DragManager.MOVE);

          }

          else

          {

          DragManager.showFeedback(DragManager.NONE);

          }

           

          }

           

          This gives me a reasonable approximation of what I am looking for.  However, I would expect that when I call DragManager.showFeedback(DragManager.NONE), no indicator shows up - however, the "Red X" appears.

           

          Also, I cannot find documentation anywhere regarding how I can customize and create my own "Green Plus" and "Red X".