1 Reply Latest reply on May 6, 2006 10:12 PM by kglad

    If statement quandry

    David_Kelly
      What I want to do is use variables to make the navigation universal for all buttons. I also want to run two movie clip labels back to back with one onRelease function. Can anyone offer some advice? It would be much appreciated.
      Thanks

      This is in my main timeline:
      about_btn=my button
      content_box=my Movie Clip
      var1=home_end="frame7"
      var2=home_end="frame14"

      about_btn.onRelease=function(){
      if (home_end="frame7")
      {
      content_box.gotoAndPlay("home_exit");
      }
      else if (home_end="frame14")
      {
      content_box.gotoAndPlay("about_enter");
      }
      }