0 Replies Latest reply on Oct 5, 2007 2:14 PM by linkery

    Actionscript link help...

    linkery
      I've been trying to work with a flash template that I bought from templatemonster.com ...

      Here is my problem...I need the buttons at the top to link to other pages, whereas currently they link to other scenes or frames...

      Can I do this without losing the interactive actionscript features (rollover effects, etc.)?

      I had it working before when I just added in a bunch of getURL functions, but it wasn't the prettiest...some of the rollover effects didn't work correctly...

      Here is the current code for one of the buttons:

      onClipEvent (load) {
      num = 1;
      }
      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 and _root.animation == 1) {
      _root.animation = 0;
      _root.link_prev = _root.link;
      _parent["item"+_root.link].gotoAndPlay("s2");
      _root.link = num;
      _root.play();
      }
      }