5 Replies Latest reply on Aug 23, 2008 6:37 AM by Newsgroup_User

    A small big problem with Drag&Drop

    123qweads
      Hi!!

      I need of dragging an external picture on a IMAGE control.
      This is the control:

      <mx:Image id="myImg" source="{File.desktopDirectory.nativePath + 'test.png'}" x="392" y="267" height="140" width="150" dragDrop="DropHandler(event)" dragEnter="DragManager.acceptDragDrop(event.currentTarget as Image);"/>

      the 1st problem is that dragDrop event is not called...
      dragEnter is called..

      dragExit works... dragOver works too....
      but dragDrop and dragComplete no...
      so.. I can't try to discovery a solution for my main problem: get the path of an external dragged image..

      Any aids??
      all tutorial that I've read speak about drag an object from a flex container to another flex container...

      Bye bye.... and thanks!!