I have a couple of components on stage that I need to disable mouse events on.
I’ve been looking through the documentation, and it looks like the components probably have a Mouse listener setup, and then they fire off their functions when their listeners are notified of an event.
In order to remove a Mouse listener, I need to know the instance name of the listener object, is there a way of referencing this? I couldn’t find it as a built-in function.
Maybe I’m off-base, and there’s a better way to get a component to stop responding to mouse events. I tried
componentInstance.enabled = false;
but that doesn’t seem to do anything.
Thanks for your help.