set transition event by name