Animation Not Working!

I imported an animation from Blender. It is a finish flag that raises up. In the animation preview, it works perfectly. When I drag it into the scene, nothing at all happens. What could be wrong?

If you have unchecked the “Play automaticaly” option, you might need to use a script to play the animation.

    // Try using something like this to play the default animation on start.
    function Start(){
    transform.animation.Play();
    }