New AS registerToAnEvent()