0 Replies Latest reply on Dec 9, 2006 6:56 AM by sprackles

    Scrolling Thumbnail Panel

    sprackles
      I've been trying to create a scrollong thumbnail panel through Flash 8 Professional using a tutorial on www.gotoandlearn.com. I have followed the instructions almost instantly but it won't work for me, can anyone help? I have put the actionscript I used below in case anyone can find a mistake, but I'm almost certain its the same as in the tutorial?

      panel.onRollover = panelOver;

      function panelOver() {
      this.onEnterFrame = scrollPanel;
      delete this.onRollOver;
      }

      var b = stroke.getBounds(_root);

      function scrollPanel(){
      if (_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax){
      this.onRollOver = panelOver;
      delete this.onEnterFrame;
      }

      if(panel._x >= 51.1) {
      panel._x = 51.1;
      }

      if (panel_x <= -2588.8) {
      panel._x = -2588.8;
      }

      var xdist = _xmouse - 350;

      panel._x += -xdist / 7;
      }


      Any help would be greatly appreciated