You only need two models, a Static Firing, and an animated one. cos when it goes back down you play the animation in reverse. For the Idle state model, all you need to do it tell the animation not to play untill it "pops-up."
Plus there is a WONDERFUL thread in this site,
which gives you the basic code.
Try the Search Button.
