A way to pauseAllListeners of a single obj?

Please see this link first:

http://www.ludicroussoftware.com/blog/2011/08/24/remove-all-listeners/

I used this in my code for getting rid of my eventListeners. But I need a way to temporarily disable all listeners on a single object. Can someone show me a article or throw together some code for this that I could use?

Thanks!

you could wrap the object functions affected by the listeners with an if statement and set a flag so it will skip the code inside the function

i know its not what you wanted but there it is

Hi, it worked - although it wasn’t exactly what I wanted it functions the same thing. Thanks!

welcome

you could wrap the object functions affected by the listeners with an if statement and set a flag so it will skip the code inside the function

i know its not what you wanted but there it is

Hi, it worked - although it wasn’t exactly what I wanted it functions the same thing. Thanks!

welcome