On 9/3/13 7:18 AM, "Evyatar Ben Halevi-Arbib" <[email protected]> wrote:

>Hey,
>
>One more thing I suggest is having the buttons click event listener
>defined
>with weak reference -
> button.addEventListener(MouseEvent.CLICK,
>handleMouseClick*,false,0,true*);
I haven't looked at the code, but why?  Weak references can cause
intermittent behavior.  And these days, for future-proofing, it is best to
avoid them so you code will more easily port to JS if you need to do that
someday.

-Alex


Reply via email to