all groups > flash actionscript > september 2005 >
You're in the

flash actionscript

group:

next frame delay?


next frame delay? Dragonusthei
9/12/2005 10:20:11 PM
flash actionscript:
Hi im making a photo slide show all i want to know is how do i make it so i
have have pics on frame 1 2 3 4 5 and have an auto play that keeps on each
photo for a few secs is there like somehting i can add to nextFrame to make it
pause on each pic for a few seconds?
Re: next frame delay? mandingo
9/12/2005 10:45:01 PM
first put a stop() behaviour in each frame.

then in a layer that spans the five keyframes


this.slideshow = function(clip){
trace(clip._currentframe)
clip.nextFrame();
counter++;
if(counter >= 5){
clearInterval(slideId);
}
}

this.slideId = setInterval(this.slideShow,3000,this);

I hope that helps
cheers
AddThis Social Bookmark Button