hi,
i need to remove the event listeners in each frame of my movie and re-apply them to stop them repeating themselves as i call the gotoAndStop command in the “Change” function in as i’m swapping through scenes and frames.
but i can’t remove the event listeners. what am i doing wrong? any help? Thanks in advance.
Front.removeEventListener(Event.ENTER_FRAME, Change);
Back.removeEventListener(Event.ENTER_FRAME, Change);
Side.removeEventListener(Event.ENTER_FRAME, Change);
Front.addEventListener(MouseEvent.CLICK, function(){Change(1, “White”)});
Back.addEventListener(MouseEvent.CLICK, function(){Change(2, “White”)});
Side.addEventListener(MouseEvent.CLICK, function(){Change(3, “White”)});