0 Replies Latest reply on Oct 16, 2006 2:34 PM by cjg1

    Scene linking problem

    cjg1
      Hi,
      I've finished designing a site and I have a couple of minor problems I wondered if anyone could help me with!

      The main problem is that I am having trouble linking scenes with buttons. I have animated buttons, so the code isn't quite straight forward for the buttons, but this is the code I'm using:


      on (rollOver) {
      if (_root.link<>1) {
      this.gotoAndPlay("s1");
      }
      }
      on (releaseOutside, rollOut) {
      if (_root.link<>1) {
      this.gotoAndPlay("s2");
      }
      }
      on (release) {
      if (_root.link<>1) {
      _root["item"+_root.link].gotoAndPlay("s2");
      _root.link = 1;
      }
      }
      on (release) {
      gotoAndPlay("scene1");
      }


      Any help will be much appreciated!