Personally (though for many as well), exploring C2 and experimenting is a much better way to learn than just asking for the .capx, and it's quite simple, so here are the events spelled out so you can recreate them:
Player -> On collision with enemy
Player -> Shake (under ScrollTo)
Happy developing, .