delegate.addEventListenerRemote(type,listener,useCapture);
}
public void removeEventListener(String type, EventListener listener, boolean useCapture)
{
DelegateNodeImpl delegate = getDelegateNode();
if (delegate.isAddRemoveEventListenerInternal())
removeEventListenerInternal(type,listener,useCapture);
else
delegate.removeEventListenerRemote(type,listener,useCapture);
}