0 Replies Latest reply on Aug 18, 2006 12:24 PM by Donjworks

    I dunno whats wrong...

    Donjworks Level 1
      Hello,

      I got this tutorial off of GotoAndLearn, and I copied the code, line for line. I checked it and re-checked it, But it doesent work. Flash can't find any errors in it. Maybe you can. Its supposed to be a scrolling thumbnail panel, but whenever you hover your mouse over it, all the thumbnails just, dissapear.

      panel.onRollOver = panelOver;

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

      var b = stroke.getBounds(_root);

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

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

      if(panel._x <= 736) {
      panel._x = 736;
      }

      var xdist = _xmouse - 400

      panel._x += -xdist / 7;
      }


      here's the file:


      Thanks Click Here