Animation won't play in game.

I’m trying to get a health bar to flash using the new UI system in Unity 4.6. I created the health bar with a UI image and animated it in Unity. It will play in the editor window, but won’t play in game even with Play Automatically selected. What do I need to do to just get it to flash automatically? Any help is appreciated. Thank you.

Have you controlled the Animator Panel? Maybe your animations isn’t the default animation!

Follow this good tutorial to understand better the use of the Animator-Animation in Unity: