Flash Game Design  
 
   
 
Tutorials Articles
   
       
 
 
Gallery Flash Tutorial  
Part 3) Adding the Images
Step 4.
Now it's time to add some images, which I've made 360x280 in size. I'll be adding 5 in total for this tutorial. Drag one of the images anywhere onto the stage.
 
Step 5.
Convert the first image into an MC called image_0, giving it the same Identifier. Each image will be given a number, so that we can easily reference it with Actionscript later on.
 
Step 6.
Delete the image_ MC from the stage, add another image and conver it to an MC called image_1, also giving it the same Identifier as it's name. As you can see, from the image below of the library, I've added 4 images and converted them to MC's, and then placed them in a folder called 'images' . You'll need a minimum of 2 images for this tutorial.
 
Step 7.
Next, add a thumbnail image for each larger image. As you can see I've made the thumbnail have a width of 72, so that 5 thumbnails will line up, and equal the width (360) of the main image
Step 8.
Convert the thumbnail to a symbol called 'thumb_0', giving it the same Identifier.
Step 9.
As you can see again, Ive added 5 thumbnails and converted them to MC's. Delete all the MC's that are on the stage, becuase they'll all be added dymically within Actionscript in the next part.
Next go to Flash Gallery - Part 4) Defining the Actionscript Variables
Part: 1 | 2 | 3 | 4 | 5 | 6
 
   
 
   
 
Site Copyright © 2006 - 2009 Nick DS. All rights reserved.