1 Reply Latest reply on May 6, 2008 11:10 AM by MimsHWright

    Compile error for DragManager.acceptDragDrop(event.target)

    fourevermi
      This line

      DragManager.acceptDragDrop(event.target);

      seems to be giving me the following compile error:

      Implicit coercion of a value with static type Object to a possibly unrelated type mx.core:IUIComponent.

      (There is an arrow pointing to "target", I guess indicating that that is the Object causing the problem.)

      I'm not sure why this is giving me an error since the official Adobe document describing how to migrate applications from Flex 1.5 to Flex 2 says that DragManager.acceptDragDrop(event.target) is what's supposed to replace event.handled=true.