Click to See Complete Forum and Search --> : Looping presentation
captainK2020
11-01-2006, 05:39 AM
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!
cancerinform
11-01-2006, 08:47 AM
You need to give more details about your slide presentation.
captainK2020
11-03-2006, 04:54 AM
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:
function goNext(){
_parent.currentSlide.gotoNextSlide();
clearInterval(timer);
}
var timer = setInterval(goNext, 20000);
}
cancerinform
11-03-2006, 06:15 AM
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.
captainK2020
11-07-2006, 07:36 AM
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.
flashkit.com
Copyright Internet.com Inc., All Rights Reserved.