0 Replies Latest reply on May 4, 2009 2:34 PM by j_tarter

    ActionScript Help

    j_tarter

      Ok, first off I hope that I'm in the right forum.

       

      I'm trying to make something similar if not the same concept of this websites image gallery that links to different pages on their site.

       

      http://www.onlinegamesector.com/title.aspx

       

      Here is my ActionScript as I have it right now. Any help would be appreciated. . .maybe even someone could point me in the right direction to something that might even been out there for download or if I should be looking for something that is Flash/XML based.

       

      this.createEmptyMovieClip("images", 100);
      this.attachMovie("mask", "mask", 101);
      mask._x = images._x =305;
      mask._y = target = 96;
      images.setMask(mask);
      images._y = -1000;
      speed = 5;
      for (var i = 0; i<8; i++) {
      var img = images.attachMovie("image"+i, "image"+i, i);
      img._y = img._height*i;
      var thumb = this["thumb"+i];
      thumb._alpha = 60;
      thumb.pos = target+(i*-img._height);
      thumb.onPress = function() {
        target = this.pos;
      };
      thumb.onRollOver = function() {
        this._alpha = 100;
      };
      thumb.onRollOut = function() {
        this._alpha = 60;
      };
      }
      this.onEnterFrame = function() {
      images._y += (target-images._y)/speed;
      };

       

      Any assistance from the community would greatly be appreciated.

       

      THANKS!