Turns out that we need to make an property “required behavior: animatable capability” even if the object type is set as sprite in the behavior, then in every animation event, in the behavior field, you must select the property you created, otherwise the events wont work.
Can anyone confirm if this is intended or a bug?