Category Archives: actionScript
addEventListener 의 이벤트핸들러로 변수 전달하기
Pass variable with addEventListener
addEventListener 의 이벤트핸들러로 변수 전달하기
Knorcedger
I want to pass a variable to a function called by an addEventListener, but when i try to do it, it doesnt pass the event itself to the function. For example, i have
item.addEventListener(ContextMenuEvent.MENU_ITEM_S ELECT, me);
and…
private function me(event:ContextMenuEvent):void {
and i try something like that, but it says that it [...]
Also posted in development Leave a comment
익명의 함수로된 이벤트핸들러를 removeEventListener 시키기
removeEventListener() for an anonymous function
익명의 함수로된 이벤트핸들러를 removeEventListener 시키기
axiomflash
I have an event listener with an anonymous function literal, rather than a function reference. What I am trying to figure out is how to remove that event listener.
Obviously, I need a reference to the anonymous function, so the two functions are ===. But, something is going [...]
Also posted in development Leave a comment
http://www.hyundaigenesis.com