0 Replies Latest reply on May 12, 2007 4:03 PM by jdinthehouse

    Creating a dynamic portfolio

    jdinthehouse
      Hello everyone,

      I am trying to set up a portfolio where an image loads only if the user selects the images thumbnail. A tutorial explained this very well. Unfortunately, my flash file uses variables to pass information.

      Does anyone know how to make this code work using variables?

      Here is the code that they recommend placing on the button:

      click here to view tutorial

      function portfolioLoader (image) {
      main_mc.contentPath = image;
      }

      comp_but.onRelease = function (){
      portfolioLoader("full/image1.jpg");
      }

      Here is the code attached to the current button that I use for my thumbnails:

      on (release) {
      if (_root.kk<>num and _root.gg == 0 and _root.link == 1 and _root.animation == 1) {
      _root.pages001.pages.big_gallery.play();
      _root.kk = num;
      } else if (_root.link<>1 and _root.animation == 1) {
      _root.animation = 0;
      _root.menu["item"+_root.link].gotoAndPlay("s2");
      _root.link = 1;
      _root.kk = num;
      _root.menu["item"+_root.link].gotoAndPlay("s1");
      _root.pages001.play();
      }
      }

      root.kk is the movie clip that contains the timeline for my large images.

      Here is the URL of my website:
      Premier Outdoor Solutions

      Any help would be GREATLY appreciated!

      SunsFan13