Animation play another object?

A short question:

How can I play the animation of another object?
Fine if you can help me!

var otherObj : GameObject;

otherObj.animation.Play("nameoftheanimation");