[flexcoders] Retry: Question for Doug McCune on Drag-drop component?

2008-09-23 Thread gwangdesign
Sorry if this question should be better showing up at the flexcomponent group. I didn't have any luck there so far;) Suppose I am motivated enough to roll up my sleeves to do something like what McCune is doing here at tileUI.com: http://www.youtube.com/watch?v=T0N7tgF7OOM Just for the drag

[flexcoders] Retry: Question for Doug McCune on Drag-drop component?

2008-09-23 Thread gwangdesign
Sorry if this question should be better showing up at the flexcomponent group. I didn't have any luck there so far;) Suppose I am motivated enough to roll up my sleeves to do something like what McCune is doing here at tileUI.com: http://www.youtube.com/watch?v=T0N7tgF7OOM Just for the drag

Re: [flexcoders] Retry: Question for Doug McCune on Drag-drop component?

2008-09-23 Thread Doug McCune
For basic dragging stuff, here's typically what I do. Have a mouse down listener on whatever component you want to drag. On mouse down you keep track of the coordinates where the user pressed. Then you add a mouse move listener to the system manager. Also add a mouse up listener to system manager.

Re: [flexcoders] Retry: Question for Doug McCune on Drag-drop component?

2008-09-23 Thread Josh McDonald
Doug, you're a store (and distribution point) of much useful Flex kung-fu :) I didn't think of doing that last time I was messing with drag-n-drop, but it's a great idea. On Wed, Sep 24, 2008 at 6:02 AM, Doug McCune [EMAIL PROTECTED] wrote: For basic dragging stuff, here's typically what I do.

Re: [flexcoders] Retry: Question for Doug McCune on Drag-drop component?

2008-09-23 Thread Doug McCune
Thanks :) For the dragging stuff, just check out the source of Panel. There's code in there that I often copy/paste into my own stuff to handle dragging the exact same way. On Tue, Sep 23, 2008 at 5:25 PM, Josh McDonald [EMAIL PROTECTED] wrote: Doug, you're a store (and distribution point) of