On rollover help

HI
I figured this question might be better helped in this forum.
I have a button that plays a movie clip. that movie clip is a drop down menu.
Is there a code that I can put on the button that will allow the viewer to rollover the button activate the menu and then when they roll off the “menu” part it plays the animation in revers.
I made it already with very messy coding and placed a demo on this site. www.deck-medics.com/DM-2.swf

Im thinking I need to use something like this.

[font=Courier New]onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoandplay(2);
} else {
gptoandplay(3);
}
}[/font]

What do ya think?