Is there a way to check the method that has been attached to the stage?
I have stage as global.. and need to fire some function in a object on mouseup... Now it fires 2 or 3 depending how many objects i add..
I need something like..
if($.stage.hasEventListener(MouseEvent.MOUSE_UP, this.mouseUp) === false){ $.stage.addEventListener(MouseEvent.MOUSE_UP, this.mouseUp); }
Or a better way to handle this?