4 Replies Latest reply on Aug 31, 2010 11:49 AM by kglad

    One of my navigation tabs is not going to the target

    ben8974

      Need a little help! I have a flash movie as the header of my website that includes my site navigation. There are five tabs, 4 of which work fine. The first tab is supposed to point to my about page but it doesn't go anywhere when I click it. the code for each is the same and the link are changed to reflect the target. Not sure what's going on. Please Help. Code is below.

       

      onClipEvent (load) {

                      num = 2;

                      link = "focusareas.html";

                      this.hitArea = this.area;

      }

      on (rollOver) {

                      if (_root.link<>num) {

                                      this.gotoAndPlay("s1");

                      }

      }

      on (releaseOutside, rollOut) {

                      if (_root.link<>num) {

                                      this.gotoAndPlay("s2");

                      }

      }

      on (release) {

                      if (_root.link<>num) {

                                      _root["item"+_root.link].gotoAndPlay("s2");

                                      _root.link = num;

                                      getURL(link);

                      }

      }