I need help with animated buttons!

I am building a site with animated buttons. Basically they are movie clips with the animation inside (duh). There is a frame with no animtaion, followed by an animation that leads to a frame with the end of the animation and a stop action. The there is the animation after that which has the reverse. If you don’t understand what I said, then in simpiler terms it is a button with a rollover animation, but when the mouse rolls out, instead of going straight back to frame one, it plays another animation. But the problem is when I apply a gotoAndPlay action, it doesn’t goto AndPlay. Can anybody help me?