0 Replies Latest reply on Sep 25, 2006 9:04 AM by Northumbria_Student

    Flash Photo Gallery Image Rollover Help

    Northumbria_Student
      Ok I was wondering if anyone could help me with this I have created a flash photo gallery which reads from an xml file. It uses the following action script

      myPhoto = new XML();
      myPhoto.ignoreWhite = true;
      myPhoto.onLoad = function(success) {
      //portfolioTag = this.firstChild;
      numimages = this.firstChild.childNodes.length;
      spacing = 70;
      for (i=0; i<numimages; i++) {
      this.picHolder = this.firstChild.childNodes ;
      this.thumbHolder = thumbnails.createEmptyMovieClip("thumbnail"+i, i);
      this.thumbHolder._x = i*spacing;
      this.thumbLoader = this.thumbHolder.createEmptyMovieClip("thumbnail_image", 0);
      this.thumbLoader.loadMovie(this.picHolder.attributes.thmb);
      this.thumbHolder.title = this.picHolder.attributes.title;
      this.thumbHolder.main = this.picHolder.attributes.main;
      this.thumbHolder.onRelease = function() {
      loader.loadMovie(this.main);
      title_txt.text = this.title;
      };
      }
      };
      myPhoto.load("xmlphoto.xml");

      I want to add in a rollover effect to the gallery similar to the one in Flash Gallery 1 in photoshop http://www.adobe.com/support/downloads/detail.jsp?ftpID=2961 Would it be possible to take one of the as files from the Flash Gallery source and intergrate it into my gallery or would I be better just adding the rollover effect myself?