1 Reply Latest reply on Oct 3, 2011 10:01 PM by Joe ... Ward

    calling NativeDragManager.acceptDrop when drag over an html control

    claire_s

      Hi,

       

      I'm using AIR and I want to change the mouse cursor to show an "accept" or copy cursor during a drag operation. I am dragging a file from outside the application over a html control (mx.controls.HTML)

       

      In the NativeDragEvent.NATIVE_DRAG_OVER event handler I tried to call NativeDragManager.acceptDragDrop(event.target) but the NativeDragEvent.target is a FlexHTMLLoader object.

      This type is incompatible with the expected argument type InterActiveObject.

       

      I haven't figured out how to get the cursor to change. Any ideas?

       

      Claire