2 Replies Latest reply on Oct 15, 2009 2:51 AM by Subeesh Arakkan

    Dragging Objects in a Canvas


      Hi all,


      I would like to move numerous HBoxes around inside a canvas using the drag and drop functionality, and return their co ordinates at a later date.


      I have found the tutorial at: http://livedocs.adobe.com/flex/3/html/help.html?content=containers_intro_5.html


      The problem with this examples is that they do not drop the object in relation to where it was originally clicked - i.e. when dropped, my HBoxes always drop with their top left co ordinate set to the mouse current x and y position. I understand that the imageproxy is not the object I am dragging, but I would like the object to 'stay where it is' when I release my mouse button