added a event parameter to animation_param().