3 Replies Latest reply on Sep 10, 2007 9:10 PM by kglad

    Menu processing - Please condense this code

    gajtguy
      Well I have a menu on Frame1 of the main stage with 5 movieclips as the menu bars. Pressing the 1st menu should move the frame of the main stage one postition (to frame2). Pressing the 2nd menu should take you to frame3 of the main stage. Etc, etc.

      Anytime I put the 'gotoAndStop(2)' directly into the eventlistener line, that function is run upon testing the application. So, when testing the app, it starts at Frame2 instead of frame1 and nothing was clicked.

      So can anybody explain why this attached code works, but why any other method doesn't? in noob terms?

      Thanks