Flash Game Design  
 
   
 
Tutorials Articles
   
       
 
 
Step 3.
This is the 2nd part of this Flash tutorial to create a gallery with a triple scroll transition. So now that you've create a background for the gallery, import 8 thumbnails into the library. For this tutorial I've resized the thumbnails to be 64x56, but feel free to resize them to your choosing. Place them inside a folder called "thumb" and create a layer with the same name. Name the thumbnail MC's thumb0 - thumb7. Place them on the stage, starting with thumb0, and give each one the same instance name as you gave the MC.
 
Step 4.
For the next part you will need the same number of images as you have thumbnails. For this tutorial i've made the images 320x270 in size. Create an "images" folder and import the images, placing them in the folder. Create an MC for each them to go in but this time, when naming them, give them an check the "linkage" box and give them the same identifier that you name them with. We will use this identifier to attach the image later with Actionscript. Repeat this process for all the images.
 
Step 5.
Next you need to create a mask MC, with a linkage identifier with the same name. Make the size of the mask 2 pixels thinner that the large images (318), but 1/3 of the height (90). The reason this is done is because 3 copies of each image will be attached, with a the mask reveal each third of the image (top, middle and bottom).
Next go to part 3 of this flash tutorial, where the actionscript will be written to attach and scroll the images.
 
 
 
   
 
Site Copyright © 2006 - 2009 Nick DS. All rights reserved.