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] MouseEvent extends flash event
Date Fri, 15 Jul 2016 11:03:04 GMT
Ultimately, I’m not sure that it makes sense to make the type MouseEvent.

What if the user dismissed the alert using a keyboard event?

Fixing the bigger issue is probably the way to go long term, but I think the fix is OK for

On Jul 15, 2016, at 12:52 PM, yishayw <yishayjobs@hotmail.com> wrote:

> It turned out handleOK on SimpleAlertView was expecting an Event and
> complained about receiving a MouseEvent. I changed it (pull request pending)
> so it expects MouseEvent instead and that seems to have fixed it. 
> I'm not sure however that the bigger issue isn't that MouseEvent does not
> extend Event. It seems intuitive to me that it would. It's also a difficult
> error to track down. It only appears in runtime, and the stack trace does
> not point you to the event handler that has the wrong signature.
> --
> View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MouseEvent-extends-flash-event-tp53730p53923.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.

View raw message