2 Replies Latest reply on Jul 24, 2007 10:37 PM by sauruman

    need help with automatic slideshow

    sauruman
      I made an automatic slideshow that switches frames at a set interval but now i want to load each frame from an extrenal swf and add a preloader for each frame, how do i tell the slideshow to wait until the frame is loaded before it proceeds to the next frame, but still have the movieclip be automatic. Also the slideshow can be controlled mannually so i also want to know how to disable the manual control till each frame is loaded.
        • 1. need help with automatic slideshow
          sauruman Level 1
          sry for the double post
          • 2. need help with automatic slideshow
            sauruman Level 1
            Here is some of the action script for the slideshow.

            This first bit sets up the automatic interval transitions in the main movie timeline

            function nextImage()
            {
            mc_slide.mc_transition.play();
            } // End of the function
            function waitImage()
            {
            clearInterval(slideTimer);
            var slideTimer = setInterval(nextImage, timer * 1000);
            nextImage();
            } // End of the function
            function pauseSlide()
            {
            mc_slide.mc_quicktransition.gotoAndPlay(2);
            } // End of the function
            var timer = 8;
            var pauseTime = 20;
            var slideTimer = setInterval(nextImage, timer * 2000);
            stop ();


            the movieclip loaders that load each movie clip are embedded with the transition animation.
            this is the code in the embedded mc-it loads the 1st movie clip and allows the user to manually jump to any of the other movie clips.

            emptyMC.loadMovie("frame1.swf");


            var pageAddress = "about:blank";
            btn1.onRelease = function ()
            {
            _parent.pauseSlide();
            gotoAndStop(1);
            };
            btn2.onRelease = function ()
            {
            _parent.pauseSlide();
            gotoAndStop(2);
            };
            btn3.onRelease = function ()
            {
            _parent.pauseSlide();
            gotoAndStop(3);
            };
            btn4.onRelease = function ()
            {
            _parent.pauseSlide();
            gotoAndStop(4);
            };
            stop();

            I need to know how to put the code for the automation of the slideshow pause until each movieclip has finished loading and also at the same time disable the manual control of the movie clips before they are fully loaded.