3 Replies Latest reply on May 24, 2010 5:33 AM by aberfloyd

    Drag/Drop coordinates and re-position

    aberfloyd

      Hi,

       

      I am currently developing a drag and drop application. I found a great example by Gregory Lafrance in the cookbook to work from. http://cookbooks.adobe.com/post_Simple_example_of_using_a_container_as_a_drag_and-16272.ht ml.


      I would like to store the coordinates of the images once they are dropped on to the target, into an array. In addition to this, let the user re-position (drag) the image that is already on the target area. If an image is re-positioned, then update the coordinates.

       

      I'm looking for some direction on how to solve this problem. How would I get the image data once it has been copied and moved over to the target area? I appreciate any information you can give me on this topic.

       

      Thanks!