Hi Everyone,
In FluxController the detachModelHandlers function seems to be adding event listeners, shouldn't it be calling removeEventListener instead or am I missing something ?
private function
detachModelHandlers(dispatcher:IEventDispatcher):void {
for each(var directive:EventHandlerDirective in directives.modelHandlers) {
var f:Function = this.metadata::[directive.handler] as Function;
dispatcher.
addEventListener(directive.event, f, false, 0, true);
}
}
Thank you,
_
Mrinal
http://www.mrinalwadhwa.com