$(function() { init(); }); // mouse interaction drag // 拖动物体的时候,防止鼠标按下的时候对象突然跳动一下: var stage, output; var diff={}; // 偏移量: function init(e) { stage = new createjs.Stage('demo1'); stage.mouseMoveOutside = true; var circle = new createjs.Shape(); circl
Drag and Drop is a common operation that makes the interface user friendly: a user can drag/drop information to controls instead of having to type etc. The following sample explains basics of drag and drop. For detailed information you should refer t