Copy link to clipboard
Copied
做的拖动程序在2017里拖动的时候总是和鼠标指正不同步,adobe animateCC 2015里可以正常拖动
Copy link to clipboard
Copied
it's not clear what you're describing.
Copy link to clipboard
Copied
try to use globalToLocal, ex:
var a = this.globalToLocal(stage.mouseX, stage.mouseY);
cursor.x = a.x;
cursor.y = a.y;