bg.onPress = function(){this._parent.startDrag();} bg.onRelease = bg.onReleaseOutside = function(){ stopDrag(); }