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?