startDrag Alternate > MovieClip.prototype.drag
DIGG IT!
0
Comments
Published
Wednesday, June 16, 2004
at
3:38 AM
.
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