Open new flash movie and let the size of the stage be equivalent to your image size. In this case 250x130 pixels. Name layer image. Leave frame 1 for first frame of carousel***, make blank key frame on frame 2 and import images. On frame 2 import pic 1 on frame 3, pic 2 and so on. I had 8 pic. Make one more blank key frame at the end of the movie, we will use this one for carousel action. Label frame 2 next and frame 9, which is the last of frames containing images, frame start. To make carousel work in both directions we have to send timeline to frame start. So on the 1st frame of the movie make action Go To start. On the last frame make action Go To next. These 2 actions will allow the movie continuously move frame-by-frame, going in a forward or backward direction.
*** How the carousel works: We want movie to go frame by frame in either direction. If it goes to the next frame will go from frame 1 to the last frame and then stop. If it goes backwards, from last frame to frame 1, it will stop on frame 1. To avoid this, we made a carousel. As soon as movie started from the frame 1 it is sent by action Go to the frame labeled start. From there if movie goes to the next frame will go frame by frame to the last frame and then will be sent to the frame labeled next, then goes to 3rd, 4th and so on. If movie is going to the previous frame, it will go back, frame by frame to frame 1 which will send movie to the frame start, and so on.
|» Level Intermediate|
Rating: 6 Votes: 80
|No details available.|
|Download the files used in this tutorial.|
|Download (461 kb)|
|More help? Search our boards for quick answers!|