I’m making a button for the first time, and I wanted to use a full click to drive it. However, when I use addEventListener(MouseEvent.CLICK, onClickHandler); nothing happens when I click on it. When I use (with the rest of the code being identical) addEventListener(MouseEvent.MOUSE_DOWN, onClickHandler); it works like a charm.
Can anyone explain to me why this might be?
Thanks in advance.
EDIT: Solved! See below.