Popup Menu

I almost got my popup menu all working. Its based on the tutorial from http://www.kirupa.com/developer/mx/dropdownmenu.htm.
To get the buttons working i used the code:
for (j=1; j<=7; j++) {
this[“b”+j].sub = j;
this[“b”+j].onPress = function() {
_root.gotoAndStop(this.sub*8); //b1 leads to frame 5, b2=10, b3=15…
};
}

Right now, the menu is on Scene 7. When I play the movie, the buttons seem to take me back to Scene 1. How do i make it so that the button only go to Scene 7?

Just a guess… :-[AS]_root.gotoAndStop(“Scene 7”, this.sub*8);[/AS]

That didn’t work.
FYI: But i figured out how to do it anyway. I made it so that the movie with the menu is a standalone file, which loads into a main movie.
for (j=1; j<=7; j++) {
this[“b”+j].sub = j;
this[“b”+j].onPress = function() {
[COLOR=red]_parent[/COLOR] .gotoAndStop(this.sub*8);
};
}