is there a way to do this?:
private function blah(evt:MouseEvent):void//Mouse over
{
//does something to an object (in my case object.alpha -=1)
evt.target.removeEventListener(MouseEvent.MOUSE_OVER,blah)
}
essentially I want to use the same function (eg function blah) for a variety of objects so as I dont know what the exact term used in setting the event listener was I can’t use it in removeing the event listener.
Big thanks for taking the time!