YZcOL
>bLfcVcqKIt4VniVOw%3D&reserved=0
>
>From: Alex Harui<mailto:aha...@adobe.com.INVALID>
>Sent: Wednesday, August 30, 2017 7:02 PM
>To: dev@flex.apache.org<mailto:dev@flex.apache.org>
>Subject: Re: [FlexJS] Finding (x,y) position
>
>Hopefully Peter will find a so
-td61120.html#a61330
From: Alex Harui<mailto:aha...@adobe.com.INVALID>
Sent: Wednesday, August 30, 2017 7:02 PM
To: dev@flex.apache.org<mailto:dev@flex.apache.org>
Subject: Re: [FlexJS] Finding (x,y) position
Hopefully Peter will find a solution based on your input. But I think a
p
you could add w/2, h/2 if you want to center the drop
>>target.
>>
>>Looking at PointUtils.localToGlobal() it just calls
>>element.getBoundingClientRect() (as you suggested) and adds the given x,y
>>to the result.
>>
>>From: Yishay Weiss<mailto:yishayj...@h
) (as you suggested) and adds the given x,y
>to the result.
>
>From: Yishay Weiss<mailto:yishayj...@hotmail.com>
>Sent: Wednesday, August 30, 2017 5:11 PM
>To: dev@flex.apache.org<mailto:dev@flex.apache.org>
>Subject: RE: [FlexJS] Finding (x,y) position
>
>I see wh
.
From: Yishay Weiss<mailto:yishayj...@hotmail.com>
Sent: Wednesday, August 30, 2017 5:11 PM
To: dev@flex.apache.org<mailto:dev@flex.apache.org>
Subject: RE: [FlexJS] Finding (x,y) position
I see what you’re saying. I think we worked around that issue in our app by
relying on MouseE
he.org<mailto:dev@flex.apache.org>
Subject: Re: [FlexJS] Finding (x,y) position
PointUtils works when it has the correct data. For example, if you are
over an itemRenderer, say the first one, and want to get its global
location, you might do:
var pt0:Point = new Point(itemRenderer.x, it
ishay Weiss" wrote:
>Peter,
>
>Is PointUtils.localToGlobal() not working for you? From what I understand
>it takes approach (1).
>
>From: Peter Ent<mailto:p...@adobe.com.INVALID>
>Sent: Tuesday, August 29, 2017 11:29 PM
>To: dev@flex.apache.org<mailto:dev@flex.apache.org>
&
Peter,
Is PointUtils.localToGlobal() not working for you? From what I understand it
takes approach (1).
From: Peter Ent<mailto:p...@adobe.com.INVALID>
Sent: Tuesday, August 29, 2017 11:29 PM
To: dev@flex.apache.org<mailto:dev@flex.apache.org>
Subject: [FlexJS] Finding (x,y) position
Hi,
While working on drag-and-drop, I've made an "interesting" discovery having to
do with the HTML-side's x and y getter functions.
Let's say you have a nesting of s:
…
…
(this structure is similar to what is generated for DataGrid).
If you attem