AnimationEvents are a way to make sure that something happens at a specific point during an animation. You boss-character stomping and shaking the ground at frame 65? No problem… Frame 65 / 30 fps = 2.166 sec. Add an AnimationEvent to the AnimationClip and a function will be called every time this AnimationClip is played at the specified time!
var boss : GameObject;
//create and set up the AnimationEvent
var myEvent : AnimationEvent = new AnimationEvent();
myEvent.time = 2.166;
myEvent.functionName = "DoSomething";
//Add the event to an AnimationClip
boss.animation.clip.AddEvent(myEvent);
//Play the animation
boss.animation.Play();
Now simply add all the code you need to the function DoSomething in a script on the gameObject that contains the animation.