Tuesday, October 28, 2008

Pictures And LoadMovie()

// Assume the image files are inside a folder called images, and that the files are named mypics1.jpg, mypics2.jpg, etc....

// frame script
set nextone = 1;
// ------------

// next image button
on (release) {
whichImage = "images/mypics" + nextone + ".jpg";
loadMovie(whichImage, "imageLoader")
nextone++;
}

// TODAY'S EXERCISE:
// Can you figure out a previous image button?
// Create an application that runs your SOIL, SOCIETY, SOUL images.
// The application must first, choose the show ( SOIL, SOCIETY, SOUL) then run the images inside that show.

Have fun!!!

No comments: