Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Cursor misalignment with responsive drag and drop.

$
0
0

Hello!

 

I am using jquery ui to make items draggable and droppable. I also am using the new responsive feature (thank you!) to make the entire animation scale.

 

However, when I try to click on my draggable items, the cursor and the item become misaligned. It seems like when the cursor is at x,y the draggable item is at x^2, y^2, the further the cursor gets away from the top left, the greater the distance between the droppable object and the cursor.

 

I can still let go of the cursor over droppable zones and the draggable object behaves as it has dropped, even though it appears in the wrong position.

 

I read something about adjusting the alignment of the stage, but that didn't work. See below.

 

http://forums.adobe.com/message/4817827#4817827

 

Any advice is greatly appreciated. Some code that I can place directly into the stage compositionReady would be excellent.

 

Thank you very much


Viewing all articles
Browse latest Browse all 9897

Trending Articles