Re: [flexcoders] Re: drag and drop from a grid to an image..

2006-08-22 Thread Amy
I did some testing and experimenting some more.  I just used something like this:   private function dragEnterHandler(event:DragEvent) {// Get the drop target component from the event object.var dragInitiator:Image=Image(event.currentTarget);DragManager.acceptDragDrop(dragIniti

[flexcoders] Re: drag and drop from a grid to an image..

2006-08-21 Thread jgraham_us
So you want to drag from the grid onto an image? I would think it would work just like any other component. Just define handlers for dragEnter, dragDrop, dragExit, etc. On dragEnter just check the DragSource format and use the DragManager to accept the drop. You can find many examples of