> The startDrag is a method on the Sprite class and it used for any
> object dragging. All dragging in Flash/Flex comes from that function
> (even the DragManager uses the startDrag method)

 

I can't find anywhere that we use startDrag()in the framework, including
in the DragManager.

 

But that doesn't mean you shouldn't use it.

 

- Gordon

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Derrick Grigg
Sent: Thursday, February 08, 2007 1:34 PM
To: [email protected]
Subject: [flexcoders] Re: StartDrag() versus DragManager.doDrag()

 

Hey Mike,

My understanding of the DragManager is that it is used to facilitate
drag and drop operations, ie moving nodes from a trees, rows from a
grid, etc. It's purpose is more for moving data from point A to point
B with some type of visual reference.

The startDrag is a method on the Sprite class and it used for any
object dragging. All dragging in Flash/Flex comes from that function
(even the DragManager uses the startDrag method) so I don't think it
will be deprecated anytime (if ever).

I would say the startDrag is always the preferred method for dragging
items around and only consider using the DragManager when you actually
need to move/copy data from source to target by mouse interaction.

Hope that helps,

Derrick Grigg
--------------
www.dgrigg.com

 

Reply via email to