1 Reply Latest reply on Aug 2, 2013 4:55 PM by robboerman

    Dragging in Edge




      I'm making the transition from Flash to Edge animate.


      I have a simple object (the letter 'A' named AA2) that sits on the stage. I have it animate by moving from one side of the stage to the other. After the animation is complete, I then want to be able to drag the letter anywhere on the stage. The dragging works fine (jQuery draggable) if I don't first (or include the animation) animate the letter; but once I animate the letter and then try to drag it, it disappears off the stage. Also, I prefer to use GreenSock's Draggable JS file rather than jQuery, and I can't seem to get GreenSock to work for me.

      I would attach a zip file of my Edge file but don't know how: I included the code that is attached to the creationComplete of my Stage:



      yepnope({nope:['js/jquery-ui-1.10.0.custom.min.js', 'js/Draggable.min.js', 'js/TweenMax.min.js'], complete: init});


      function init(){




                //Want to do the same except use GreenSock's Draggable instead of jQuery


        //but it doesn't work at all




      Again, the letter 'A' (named AA2) will drag if I don't first animate it (and it only drags with jQuery, I cannot get GreenSock to work). Any help would be GREATLY appreciated. Thanks.



      Steve Zuro