466 posts
  • Became a Top 20 Author of the Month
  • Had an item that was trending
  • Had an item that became a weekly top seller
  • Has been part of the Envato Community for over 6 years
+7 more
uiuxaesthetics
says

Anyone know how to check for the existence of an event listener. I can set a boolean if I have to, but there has to be some way to check to see if the listener is added or not.

466 posts
  • Became a Top 20 Author of the Month
  • Had an item that was trending
  • Had an item that became a weekly top seller
  • Has been part of the Envato Community for over 6 years
+7 more
uiuxaesthetics
says

never mind think i found my answer if(object.hasEventListener(MouseEvent.MOUSE_DOWN)) {}

2054 posts
  • Has referred 50+ members
  • Has sold $750,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+11 more
bitfade
says

hasEventListener()/willTrigger()

466 posts
  • Became a Top 20 Author of the Month
  • Had an item that was trending
  • Had an item that became a weekly top seller
  • Has been part of the Envato Community for over 6 years
+7 more
uiuxaesthetics
says

yup, shoulda checked livedocs

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/EventDispatcher.html

think im gonna use willTrigger

by
by
by
by
by
by