摘要:
startDrag stopDragFlex的sprite有自带的拖动方法,startDrag, stopDrag:1.startDrag方法: startDrag(lockCenter:Boolean= false, bounds:Rectangle= null):void参数 lockCenter:Boolean(default = false)— 指定将可拖动的 sprite 锁定到指针位置中心 (true),还是锁定到用户第一次单击该 sprite 的位置 (false)。 bounds:Rectangle(default = null)— 相对于 Sprite 父级的坐标的值,用.. 阅读全文