So, what I'm realizing is that DragManager and Drag and Drop is just that - you're moving data to another container - whatever that data might be.

In this case, I'm moving a Component around on stage and might possibly drop it onto another component.  The idea would be to move the dropped component into the display list of the target (which works).  But must "moving" the object around with in the Canvas only works with startDrag()/stopDrag(). 

Is there a way to allow the object to be moved to different coordinates using the DragManager.doDrag() method?

I've looked through the tutorials and somethings were cleared up, but none of them showed an example of just dragging something around on stage using DragManager.  Seems like I'm barking up the wrong tree on this one.

thoughts?

On 10/17/06, John Grden <[EMAIL PROTECTED]> wrote:
Yeah I had wondered about what was going on with the drag proxy - I'm just getting into it, but this really helps Derrick


On 10/17/06, Derrick Grigg < [EMAIL PROTECTED]> wrote:

There is a decent sample in the online Flex docs of
dragging an image around.

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000967.html

General overview of the drag manager and usage
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000967.html

I have found the drag manager to be pretty easy to use
and useful, however when using the datagrid/lists and
dragging between them, using anything other than the
default drag proxy becomes painful. You can work
around it by extending the datagrid class and
overwriting the dragProxy setter/getter to use a
different one instead.

Good luck,

Derrick

--------------------------
Derrick Grigg
[EMAIL PROTECTED]
www.dgrigg.com




--
[  JPG  ]



--
[  JPG  ] __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to