According to the documentation, when a SimpleButton “is disabled (the enabled property is set to false), the button is visible but cannot be clicked. …Note: To prevent mouseClicks on a button, set both the enabled and mouseEnabled properties to false.”
In Flash, when the enabled and mouseEnabled properties are set to false, the button is truly not clickable. There is no animation, the hover state doesn’t display on a MouseOver and down state is not displayed on a MouseDown. And no event is dispatched on a MouseClick.
In OpenFl, the button is still clickable visually, and if any event listeners are not removed, a user action will cause an event to be dispatched.
I can prevent my code from responding to a click by removing the listener. What I need to know is how do I prevent the down state from being displayed when the user clicks a SimpleButton.