Drop down tutorial

Hi,
I’m new to flash and I did the creating a drop down menu tutorial.
http://www.kirupa.com/developer/mx/dropdownmenu.htm
It drops down fine but I can’t figure out how to get the drop down sections to send me to different frames in my movie/site. I keep going within the “menu” movie and then clicking on the sub menu buttons to give them instance names and then I add actionscript to take me to different frames. Is that the wrong way to do it? I’ve tried different code and I keep getting an on event handler error. Maybe it’s because the buttons are within a movie. I’m not sure. I’m new to flash. I also tried this without giving them instance names
on(release) {
gotoAndPlay(5);
}

I don’t get an error but it doesn’t work
Can someone help me with the right actionscript to do this?
Thank you,
Holly