Hi Guys,
This is something I really need to crack - not just to solve the problem but understand the issue.
I’ve dynamically created event listeners in the usual sort of way:
myText.addEventListener(MouseEvent.MOUSE_OVER, hover(nameLabel));
function hover(nameLabel):Function
{
var createHover:Function = function (evt:MouseEvent):void
{
getChildByName(nameLabel).filters = [myFilter1];
}
return createHover;
}
The problem is how to remove the event listener later in the program as the usual code isn’t working. I’m guessing I should have done this in a class but I’d like to understand this problem better.
Any guru’s out there care to share some insight? :hugegrin:
(I hate not understanding things - you’re not really learning…)