Ugh.  Even 1 more thing to keep in mind; the mouseX and mouseY of where you 
dropped it are relative to the target you dropped it on.  So, if you dropped 
it on "my_canvas" at 10, 10; if the canvas itself is at x=10, and y=10, then 
in reality, you dropped it at Application.x=20, Application.y=20.

This is where localToGlobal comes into play.

----- Original Message ----- 
From: "JesterXL" <[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>
Sent: Monday, November 28, 2005 2:01 PM
Subject: Re: [flexcoders] getting coordinates of dropped item


This coffee blows.  *ahem*

Naw, see my original email, the mouseX and mouseY.  Although you can find
the dragProxy on _root somewhere, in reality, you "drop it" where your x and
y mouse are, thus the X and Y mouse of the target are where you dropped it.

Sorry again.

----- Original Message ----- 
From: "Douglas Knudsen" <[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>
Sent: Monday, November 28, 2005 1:43 PM
Subject: Re: [flexcoders] getting coordinates of dropped item


event.target points to the object being dropped on though, eh?  Not
the object being dragged about.  I need the coords of the object being
dragged about.

DK

On 11/28/05, JesterXL <[EMAIL PROTECTED]> wrote:
> ...er, event.target.x and event.target.y, sorry.
>
> ----- Original Message -----
> From: "JesterXL" <[EMAIL PROTECTED]>
> To: <flexcoders@yahoogroups.com>
> Sent: Monday, November 28, 2005 1:32 PM
> Subject: Re: [flexcoders] getting coordinates of dropped item
>
>
> function dragDropHandler(event)
> {
>     trace(event.target.mouseX);
>     trace(event.target.mouseY);
> }
>
> ----- Original Message -----
> From: "Douglas Knudsen" <[EMAIL PROTECTED]>
> To: <flexcoders@yahoogroups.com>
> Sent: Monday, November 28, 2005 1:14 PM
> Subject: [flexcoders] getting coordinates of dropped item
>
>
> Ok, I'm using the DragManager on a List via dragEnabled="true".  How
> to get the coordinates of the dragproxy when its dropped?  Possible?
>
>
> --
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>


--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?



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









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








------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to