3 Replies Latest reply on Sep 15, 2012 11:13 AM by kglad

    In a current Flash site, I can't find the code that brings in photos...

    RuesterProd Level 1

      I feel like an idiot, so I'm coming to you all for help...

       

      http://dagmaredwards.com/

       

      In the site above, there is a Flash photo Gallery that loads on the page. I have the .fla file for it, and in the Actions panel, there is only one set of code and it's the following:

      --------------

      //centro l'immagine

      _level10.onEnterFrame = function() {

          if (currentImage == undefined)

              newWinBtn._visible = false;

          else

              newWinBtn._visible = true;

          if (_level10.box.getBytesLoaded()>10 && _level10.box.getBytesLoaded()>=_level10.box.getBytesTotal()) {

              //_level10.box._x = Stage.width/2-(_level10.box._width/2);

              //_level10.box._y = Stage.height/2-(_level10.box._height/2);

          }

      };

      Stage.showMenu = false;

      quality = "BEST";

      var currentImage:String;

      newWinBtn.onRelease = function(){

      //    var imageName = currentImage.substr(currentImage.lastIndexOf("/"));

      //    var newPath = currentImage.substr(0, currentImage.lastIndexOf("/")) + "/large_images" + imageName;

          getURL(currentImage,"_blank");

      }

      ------------------------------

       

      What I'm trying to do is change the images that load (this site is for my friend, she wants to change her pictures), but I'm not sure how to do that... I can't seem to figure out how the Gallery is getting the images - I see the currentImage:String; in the code above, but I can't figure out how this gallery selects the images that're in the folder...

       

      Is there anyone that can help me? Thanks all!