Help with dropdown menus

I need to create a functional dropdown menu that I’ll be able to mouse over the main button, and have the secondary buttons ‘dropdown’. But then when I mouse-off of the main or secondary buttons, the secondary buttons go away. I tried to use:

on (rollOver) {
gotoAndPlay(“expanded”);
}
on (releaseOutside) {
gotoAndPlay(“collapsed”);

But it seems that there is not a way to have the secondary buttons go away when I mouse outside the movie clip containing the buttons (I thought that “rollOut” would to the trick, but using that does not allow the secondary buttons to function when pressed). Do you know what I mean? Can anyone help? I just need a basic, functional dropdown menu that ‘resets’ when the mouse rolls-out. Thanks…