A Slide Show/Action Scripting

Download image1, image 2, image 3 and image 4 then import them into your movie one at a time. Convert each image to a symbol (Insert>Convert to Smbol, assign each image a name the following names and assign the property of a movie clip:

When you have completed the first image, delete it off the stage because it is now in your library. Continue until you have all four images stored in your library.

SCRIPTING

on (release){
gotoAndStop(1);
}

on (release) {
i--;
if (i==0) {
i=5;
}
gotoAndStop(i);
}

on (release) {
i++;
if (i==6) {
i=1;
}
gotoAndStop(i);
}


18. Click on the third Button. This button will move the movie all the way to the ending frame. Place this script in for the last button.

on (release){
gotoAndStop(5);
}

Of course, if you use more slides then 5 frames you will adjust the values accordingly. Your Movie is ready to play!