0 Replies Latest reply on Mar 28, 2007 12:36 PM by kingmonkey

    transition script nd

    kingmonkey
      Hi

      I've been experiementing with actionscripting transitions between sections... this is the first site I have tried this with (last 3 had swf loaded in one after another rather than transitioned between). I used some code from kirupa.com which works for loading movies in and out, but I also have some code for my movie buttons. I can get one or the other working, but not together, so I guess I'm clashing code somewhere, I could do with some help please to find what I'm doing wrong...

      The transistion code and calling-up buttons is;

      Code:
      Menubar.b1.onRelease = function() {
      if (_root.section != "about.swf") {
      _root.section = "about.swf";
      _root.transition.gotoAndPlay("closing");
      }
      };
      Menubar.b2.onRelease = function() {
      if (_root.section != "portfolio.swf") {
      _root.section = "portfolio.swf";
      _root.transition.gotoAndPlay("closing");
      }
      };
      Menubar.b3.onRelease = function() {
      if (_root.section != "contact.swf") {
      _root.section = "contact.swf";
      _root.transition.gotoAndPlay("closing");
      }
      };


      and the code I have on my movie buttons is;
      Code:
      on (rollOver) {
      gotoAndPlay("rollover");
      }
      on (releaseOutside, rollOut) {
      gotoAndPlay("rollout");
      }


      Is there a way to combine them???

      Thanks. Wayne.