Stuff I am building:


Ted Patrick - Events & Community @ Adobe Systems


Note: This is the personal blog of Ted Patrick. The opinions and statements voiced here are my own.



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

Where to find me:

Ted on Twitter - @AdobeTed
Ted on Adobe Groups
Ted on LinkedIn
Ted on Facebook
Ted at Adobe


Latest

Lists

Links

Jobs

Flex Jobs
city, state, zip

Archives