0 Replies Latest reply on Dec 7, 2006 9:09 PM by mpettus@cox.net

    Button problems on website in flash 8

    mpettus@cox.net
      I just started using flash, but I am getting a bit better. I purchased a template through monster and have slowly picked up on flash. Here is my problem and forgive if I use incorrect terminology or seem ignorant...

      I have a page on my site that has 4 buttons on each side...movie clip over a button...looks like a bar with a small arrow movie clip on the end. I am sure you know what I mean. When you roll the mouse pointer over the page it obviously is supposed go through its actions and alert user there is a link. If I put my code on the movie clip, you have to move the mouse over the arrow to show the link. If I put my code on the button layer, it causes all 8 of the buttons to have the same action/link and if I change one it changes all.

      What am I doing wrong? I can't seem to figure it out. Here is the code...
      on (rollOver) {
      if (_root.link<>15) {
      gotoAndPlay("s1");
      }
      }
      on (releaseOutside, rollOut) {
      if (_root.link<>15) {
      gotoAndPlay("s2");
      }
      }
      on (release) {
      if (_root.link<>15) {
      if (_root.link == 7) {
      _root.bl.gotoAndPlay("bl2");
      _root.lns.gotoAndPlay("ln2");
      }
      _parent["item"+_root.link].gotoAndPlay("s4");
      _root.link = 15;
      k = 1;
      _root.pages.gotoAndStop(_root.link);
      gotoAndPlay("s2");
      }
      }