A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Looping presentation

  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    10

    Looping presentation

    Hi Guys,

    I've created a slide presentation in Flash 8 which auto runs-through the slides and then loops back to the 1st slide when it reaches the end which is all good.
    However on the second iteration of the loop all my nice image transistions and text fade-ins etc dont happen?? It just displays the final frame of each slide?

    Any help or advice much appreciated!

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    You need to give more details about your slide presentation.
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Junior Member
    Join Date
    Nov 2006
    Posts
    10
    Ok, Its quite a complex presentation with lots of animated diagrams and images all of which are held within their own movie clips. Once all the slides have played once and it loops back to the beginning on the second loop it doesn't show any transitions or animation on the slides it just shows the final frame for each slide. I'm using this code to jump to the next slide after a certain amount of time:

    Code:
    function goNext(){
    _parent.currentSlide.gotoNextSlide();
    clearInterval(timer);
    }
    var timer = setInterval(goNext, 20000);
    }

  4. #4
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    I never use the screen class, but from your problem it seems that all movieclips have played and are not reset any more. The reason could be that the slide presentation is all in one frame. Try the following.
    Click on the timeline button.
    In your frame with slide presentation add a stop(); if you have not done so.
    Add another frame and give it a frame name like frame2.
    When the slide presentation finishes add the line _level0.gotoAndPlay("frame2");
    The movie should then go back to the slide presentation or if you have many more frames, then direct it back by using gotoAndStop(framename here). The slide presentation should then reload.
    - The right of the People to create Flash movies shall not be infringed. -

  5. #5
    Junior Member
    Join Date
    Nov 2006
    Posts
    10
    Thanks for the tips.

    I sorted this by adding a play() to each screen and a gotoAndStop() to the last frame of each screens timeline.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center