Tuesday, 22 September 2009

drag and drop function in action script

here is a quick drag and drop function ive written.
note the redcirlce is the object or movie clip

redCircle.onPress = function(){
startDrag(this,true)
}

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

hav fun !

No comments: