2009년 6월 25일 목요일

AS3.0 화면객체 밖에서 Mouse UP 된 것을 알아내기

1. Down 됐을때 stage에 addEventListener로 MOUSE_UP 이벤트 리스너를 추가한다.

2. 1.에서 만든 이벤트 리스너에서 removeEventListener 해준다.

 

참고 : http://anilmathewm.blogspot.com/2008/01/event-handling-in-actionscript-30.html

댓글 없음:

댓글 쓰기