Added trigger_when_skipping parameter to add_frame_listener().
When an animation is skipped, this parameter determines whether a frame listener is called even though its frame was never reached.