2 Replies Latest reply on Jun 14, 2012 10:25 AM by sumit.king7

    DragManager.acceptDragDrop() don't work on bordered canvas.

    sumit.king7 Level 1

      I created a Drag Drop demo.


      The DragEnter Event handler is like this:


      private function dragEnterHandle(evt:DragEvent):void


              var drpTarget:Canvas = Canvas(evt.currentTarget)




      The code doesnt work if the drop target is having a border. To make it work i need to:

      1. Either remove the border of canvas and add background color to it. <or>

      2. or, drop the content on its border..