Ok, so I'm trying to track where to place an item, based on the dragProxy
thumbnail that gets displayed while dragging. However, when I store a
reference to this item, the (x,y) values come in as 0!

           DragManager.doDrag(dragInitiator, ds, event, dragProxy );

           model.currDragProxy = dragProxy;
           model.currDragProxy.addEventListener(MouseEvent.MOUSE_MOVE,
function():void {
               model.log.debug( "... currDrgPrxy.loc:
"+model.currDragProxy.x + ", "+model.currDragProxy.y );
           });

Anyone have good approach to managing precision drag drop? I just want an
item to show up at the exact location as the thumbnail that gets dragged by
DragManger!

-Scott

On 5/7/07, Manish Jethani <[EMAIL PROTECTED]> wrote:

  On 5/7/07, slangeberg <[EMAIL PROTECTED] <slangeberg%40gmail.com>>
wrote:

> Here's the handler to capture the 'dragDrop' event:
>
> private function onDragDrop(event:DragEvent):void {...}
>
> Is there any way to access the dragImage from that DragEvent?

I think you'll have to just hold a reference to your dragImage and
access it later in the handler.



--

: : ) Scott

Reply via email to