Skip to content

Instantly share code, notes, and snippets.

@haigopi
Created August 2, 2018 23:04
Show Gist options
  • Save haigopi/d91330868064e3757b7ae3ac928f5f1a to your computer and use it in GitHub Desktop.
Save haigopi/d91330868064e3757b7ae3ac928f5f1a to your computer and use it in GitHub Desktop.
Adding and Removing
allXML.addEventListener(AlliBilliEvent.ACC_TREE_BUILD, buildTree_in_acc);
allXML.addEventListener(AlliBilliEvent.START_BUILD_UI, startBuildingUI);
addEventListener(MyCustomEvent.MyFormSearchEvent, alliBilliSearchResult);
addEventListener(AlliBilliEvent.TAB_REFRESH, refreshTab);
this.stage.removeEventListener(FullScreenEvent.FULL_SCREEN, this.fullScreenHandler);
closeButton.removeEventListener(MouseEvent.MOUSE_DOWN, handleMouseDown);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment