Ted Patrick > { Events & Community } > Adobe Systems


startDrag Alternate > MovieClip.prototype.drag

Here is a functional replacement for startDrag/stopDrag. The difference is that you can drag many items at once while using startDrag for other things.&

Download

Usage:
Target.drag([lock,][left,][top,][right,][bottom])

Target.drag(true) //startDrag(true)
Target.drag(false) //startDrag(false)
Target.drag(1,0,0,100,100) //startDrag(1,0,0,100,100)
Target.drag(-1) //stopDrag()

Events:
onDrag - Called repeatedly when item is dragging
onDrop - Called when drag(-1) executes

Enjoy,

Ted ;)

0 Responses to “ startDrag Alternate > MovieClip.prototype.drag ”

Post a Comment



Jobs


Flex Jobs
city, state, zip


© 2008 Ted On Flash