All pastes #480970 Raw Edit

Someone

public text v1 · immutable
·published 2007-05-10 15:06 UTC
rendered paste body
var dragItem = false;

this.onRollOver = function(){
	dragItem = true;
	trace(dragItem);
}

this.onPress = function(){
	if (dragItem = true){
		startDrag(this);
	}
}

this.onRelease = function(){
	stopDrag();
}