3 Replies Latest reply on Feb 3, 2010 4:38 PM by kglad

    Simple Gallery Question


      Hello All,


      This should be straight forward but not for me as a newbie to Flash. Attached is the gallery I'm working on please feel free to take a look. The issue is I want the gallery to start without having to click on the button to make it start. So I assumed taking away the function would allow the gallery to run by itself;




      But apparently thats not all that needs to be removed...


      can anyone offer help..Thanks in advance!

        • 1. Re: Simple Gallery Question
          kglad Adobe Community Professional & MVP

          i assume that's the code attached to the button you click to make the gallery start.  is that a movieclip button or a true button?

          • 2. Re: Simple Gallery Question
            jynx19 Level 1

            Hello Kglad,


            Thanks for the response, its a movie clip button which when clicked starts the gallery...I have a feeling I have to remove the "button function" from the listener somehow not sure though.


            Heres the code for that part;


            function thumbnailer(k){
            total_thumbs = _global.total;
            var container = thumbnail_mc.createEmptyMovieClip("th"+k,thumbnail_mc.getNextHighestDepth());
            var image = container.createEmptyMovieClip("img", container.getNextHighestDepth());
            tlistener = new Object();
            tlistener.onLoadInit = function(target_mc) {
              target_mc.pictureValue = k;
              target_mc.onRollOver = function() {
               this._alpha = 50;
              target_mc.onRollOut = function() {
               this._alpha = 100;
            image_mcl = new MovieClipLoader();
            image_mcl.loadClip(thumbnails[k], "thumbnail_mc.th"+k+".img");

            • 3. Re: Simple Gallery Question
              kglad Adobe Community Professional & MVP

              1. remove that movieclip button.  you can then use: