What I've figured out with removeEventListener and Delegate is you can
remove the listener on dispatchEvent like so:

private function someEventHandler (e:Object) {
        var target = e.target;
        if (removeHandler) target.removeEventListener("event", 
arguments.caller);
}

Of course this only works after removeHandler is set to true and the
event is dispatched once again. Yet, is some instances its enough.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to