1 Reply Latest reply on Feb 24, 2008 2:57 AM by tschorakl

    By dragAndDrop losing value

    tschorakl
      Hi all,

      i play with the drag and drop functionality between a tree and a canvas, but now i have a problem. As soon as i start the dragging i losing the value from the node, only see the border during the dragging from the node but not the text from it.

      is my DragSource wrong or?

      var myUITextField:DisplayObject = dragInitiator.getChildAt(0);
      var ds:DragSource = new DragSource();
      ds.addData(dragColor, "text");

      what do it wrong, please help?!

      many thanks and sorry for my english :-) ... regards, Tom

      ps: I use flash.events.MouseEvent not mx.events.DragEvent