Re: [FlexJS] Listening for mouse events

2015-01-07 Thread Alex Harui
Peter, try syncing up to the repo. The hack has been ‘improved’ and should give you what you need. -Alex On 1/7/15, 4:44 AM, "Erik de Bruin" wrote: >That 'hack' seems vaguely familiar... ;-) > >In your source's inheritance chain, is there either a base class >'goog.ui.component' or 'goog.ui.co

RE: [FlexJS] Listening for mouse events

2015-01-07 Thread Kessler CTR Mark J
Should there be a general property added to the AS classes that passes the JS/html equivalent? -Mark -Original Message- From: Erik de Bruin [mailto:e...@ixsoftware.nl] Sent: Wednesday, January 07, 2015 7:44 AM To: dev@flex.apache.org Subject: Re: [FlexJS] Listening for mouse events

Re: [FlexJS] Listening for mouse events

2015-01-07 Thread Erik de Bruin
That 'hack' seems vaguely familiar... ;-) In your source's inheritance chain, is there either a base class 'goog.ui.component' or 'goog.ui.control'? EdB On Wed, Jan 7, 2015 at 1:26 PM, Peter Ent wrote: > I'm trying to receive mouseover events on a FlexJS object whose element is a > . I've di

[FlexJS] Listening for mouse events

2015-01-07 Thread Peter Ent
I'm trying to receive mouseover events on a FlexJS object whose element is a . I've discovered this code in org.apache.flex.events.EventDispatcher.prototype.addEventListener: /** * A bit of a hack, but for 'native' HTML element based controls, we * want to listen to the 'native' events f