Stop multiple clicking

Hi all,
I’m writing a function to some buttons that has a TweenLite function to it. I only want it to tween once when it’s clicked.

So to stop people clicking them multiple times, I’ve put a MouseEvent.CLICK, and a MouseEvent.DOUBLE_Click EventListeners to the buttons. “scrollLeft” and “scrollRight” will do its usual thing and “doNothing” is just an empty function.


arrowLeft.addEventListener(MouseEvent.CLICK,scrollLeft);
arrowRight.addEventListener(MouseEvent.CLICK,scrollRight);
arrowLeft.addEventListener(MouseEvent.DOUBLE_CLICK,doNothing);
arrowRight.addEventListener(MouseEvent.DOUBLE_CLICK,doNothing);

But the scrolling still works if I click super quick. Can someone tell me what’s the best way to stop this? I’m pondering putting doing a setInterval on the scrolling functions to disable the button for 1second or so.