Well how about having an Interface "Event" and every form of event implementing 
that? I think a MouseEvent should be an Event.


Chris

________________________________
Von: yishayw <yishayj...@hotmail.com>
Gesendet: Freitag, 15. Juli 2016 11:52:17
An: dev@flex.apache.org
Betreff: Re: [FlexJS] MouseEvent extends flash event

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.

Reply via email to