flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject Re: FlexJS mouseEnabled
Date Mon, 15 Aug 2016 20:20:43 GMT

On Aug 15, 2016, at 11:05 PM, Alex Harui <aharui@adobe.com> wrote:

> On 8/15/16, 12:54 PM, "Harbs" <harbs.lists@gmail.com> wrote:
>> I can’t find any way in FlexJS to set the mouse-interactivity of an
>> object. (i.e. a la mouseEnabled in Flash)
> Is the goal to build something that isn't ever mouse-able or to be able to
> switch its mouse-ability at runtime?


> In my mind, the former might be some base class for non-interactive
> objects.  For runtime switching, I imagined that enabled/disabled would be
> a bead and work with the view to do whatever needs to be done.  Some
> disabling philosophies is to change the state of the object, others blur
> and/or mask, others don't change the visuals at all.
> On the HTML side, I would think that at worse, the "disabling" could
> capture all mouse events and stop their propagation.  Other
> implementations would use CSS or whatever.
> My 2 cents,
> -Alex

FWIW Here’s some hacks for getting it to work in IIE.[1]

I guess we’ll do an “interactivity” Bead. Any suggestions on a good name?

View raw message