I already added DisplayUtils to the refactor-sprite branch.
I don’t think a bead is necessarily a good fit for this (at least not only a
bead). You’d might want to use this in code using any UIBase object.
On Jul 28, 2016, at 4:31 PM, Peter Ent wrote:
> I would think this might also be a good
I would think this might also be a good bead candidate. It could be added
as a bead to the View or some container. This way you'd only bring in that
code to the app if the app really needed it.
‹peter
On 7/28/16, 2:36 AM, "Alex Harui" wrote:
>
>
>On 7/27/16, 11:03 PM, "Harbs" wrote:
>
>>The ot
On 7/27/16, 11:03 PM, "Harbs" wrote:
>The other piece of this is stage.getObjectsUnderPoint.
>
>It would be nice to wrap that as well. The question is where to do that.
>HTMLElementWrapper as well? What about getting global objects? There’s no
>“stage” is there?
IMO, hitTestPoint and getObject
The other piece of this is stage.getObjectsUnderPoint.
It would be nice to wrap that as well. The question is where to do that.
HTMLElementWrapper as well? What about getting global objects? There’s no
“stage” is there?
On Jul 28, 2016, at 8:58 AM, Harbs wrote:
> Any suggestions on how to imp
Any suggestions on how to implement this?
Should we just add a hitTestPoint function to HTMLElementWrapper that behaves
like the Flash version?
I’m not sure what to do about the shape flag. I think the HTML version takes
shape into account automatically.
On Jul 28, 2016, at 8:46 AM, Alex Harui
On 7/27/16, 10:40 PM, "Harbs" wrote:
>I just found this:
>http://stackoverflow.com/questions/8813051/determine-which-element-the-mou
>se-pointer-is-on-top-of-in-javascript
>
>Seems pretty straight-forward.
That points to [2], which has the following snippet:
"If the specified point is outside
I just found this:
http://stackoverflow.com/questions/8813051/determine-which-element-the-mouse-pointer-is-on-top-of-in-javascript
Seems pretty straight-forward.
On Jul 28, 2016, at 8:38 AM, Alex Harui wrote:
>
>
> On 7/27/16, 10:34 PM, "Harbs" wrote:
>
>> Is there some equivalent to hitTes
On 7/27/16, 10:34 PM, "Harbs" wrote:
>Is there some equivalent to hitTestPoint in FlexJS?
>
>I need to find an object under a mouse event location. Is there something
>already, and if not, any suggestions on how to go about implementing it?
AFAIK, we haven't done anything for that. Is there a
Is there some equivalent to hitTestPoint in FlexJS?
I need to find an object under a mouse event location. Is there something
already, and if not, any suggestions on how to go about implementing it?
Harbs