3 Replies Latest reply on Apr 21, 2014 10:13 AM by resdesign

    Draggable object jumps when dragged

    JRHall Level 1

      Hi,

       

      I have a page with a draggable object, which, when clicked for dragging, jumps down and right. It looks like it is jumping to align the top left corner to my cursor. It drags fine after its initial jump.

       

      I have used Paul Trani's tutorial (http://paultrani.com/2013/02/drag-drop-in-edge-animate/) with jquery_ui (www.jqueryui.com) to set the interaction up.

       

      This is in my Stage/creationComplete:

       

      yepnope({nope:['jquery-ui-1.10.4.min.js'],complete:init});

      function init(){

           sym.$("BFLIES").draggable();

      }

       

       

      The object I am dragging is a symbol, if that makes any difference. I am thinking it might have something to do with the initial T/L position or the origin? I tried moving the origin but that didn't fix it.

       

      Thanks

      Justin