466 posts
  • Top Monthly Author
  • Trendsetter
  • Weekly Top Seller
  • 6 Years of Membership
+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
  • Top Monthly Author
  • Trendsetter
  • Weekly Top Seller
  • 6 Years of Membership
+7 more
uiuxaesthetics
says

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

2054 posts
  • Affiliate Level 3
  • Author Level 11
  • Collector Level 2
  • Elite Author
+11 more
bitfade
says

hasEventListener()/willTrigger()

466 posts
  • Top Monthly Author
  • Trendsetter
  • Weekly Top Seller
  • 6 Years of Membership
+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