Hi, simple question: how do I check if a listener is (already) attached to an object using a if condition? Thanks!
eg;
object.addEventListener(MouseEvent.MOUSE_DOWN, dothis);
if eventlistener MouseEvent.MOUSE_DOWN exists on object then {
object.removeEventListener(MouseEvent.MOUSE_DOWN, dothis);
}