On 12/27/16, 10:51 PM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:

>Nice stuff, Chris.
>
>
>
>All the bugs in the framework seem to be about failing to override the
>clone() method in Event. If I understand correctly, this is mainly to
>preserve state in case an event is re-dispatched. Is there anything
>special in FlexJS that makes this unnecessary, or should we go ahead and
>fix these bugs?

Org.apache.flex.events.Event overrides clone and calls cloneEvent so Event
subclasses in FlexJS should override cloneEvent instead of clone.  At
least for a while longer.  I hope to get the whole framework to support
clone() by allowing certain kinds of overrides in the compiler (which is
done) and getting the compiler to return the problems found against
different platforms in one report.

Also note, clone() is really only for SWF.  The GCL event subsystem
doesn't use it.

-Alex

Reply via email to