문제

In my current project I'm using few copies of a movie clip that has some buttons on it. One of the buttons is responsible for removing the targeted copy. It's working well but as the copy disappears it calls the MOUSE_OUT event on itself, and I'm getting Error #1009 as a result. Found one workaround (I'm killing the copy as a part of MOUSE_OUT event) but it's still not letting me sleep - what is the proper way to handle the situation?

도움이 되었습니까?

해결책

... have you tried clip.removeEventListener(MouseEvent.MOUSE_OUT, yourmouseoutevent);...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top