3 Replies Latest reply on Oct 6, 2008 12:27 PM by kglad

    Multiple slide show problems

    ThePath
      OK. Im really stuck here.

      I have made a slide show in Flash 8 using actionscript 2. Ive managed to succeed to a point. But I will tell you prblems and hopefully they can be solved here as Ive found no where on web that can.

      Problem1: I have a slide show with 5 slides all in the parent of 'presentation'. I have input actionscipt code to allow the current slide to go to the next slide at the end of the timeline. I then linked the last slide with the first slide. Why oh why does this freeze on it 2nd loop through the slides on the 3rd slide. I just dont get it!! It plays once then freezes on the 3rd slide?!?!?!?!?

      Problem2: I have put this actionscipt code against a button, why doesnt it work when it does for other people?
      on(release){
      getURL(" http://www.mysite","_self");
      }

      If anyone can help please do.
        • 1. Re: Multiple slide show problems
          kglad Adobe Community Professional & MVP
          1. not much to help you with there.

          2. use a valid url
          • 2. Re: Multiple slide show problems
            ThePath Level 1
            lol use a valid url...good one...not that much of a noob.

            OK so here is code:

            The link code goes as follows: (these links dont work! Why?),

            on(release){
            getURL(" http://www.mysite","_self");
            }

            The next slide code goes as follows:

            stop();
            function goNext(){
            currentSlide.gotoNextSlide();
            clearInterval(timer);
            }
            var timer = setInterval(goNext, 500);

            The go to first slide goes as follows:

            stop();
            function goNext(){
            _root.presentation.gotoSlide(_root.presentation.slide1);
            clearInterval(timer);
            }
            var timer = setInterval(goNext, 500);

            As I say it all works until 2nd loop and then stops on 3rd slide....?
            • 3. Re: Multiple slide show problems
              kglad Adobe Community Professional & MVP
              that's not a valid url. copy and paste your on(release) code.

              those two code snippets must be on different timelines or you have duplicate function definitions.

              and why are you delaying goNext()'s execution for 500 ms?

              otherwise, i'm not able to help you with slideshow code. it's something i've never used though i've looked at it before deciding it had nothing useful to offer me.