- Home
- Tutorials
- Flash
- Intermediate
- Photo Album
Photo Album

Page 3 of 5
Back to the main stage , it's empty 'till now, so open the library,it should look something like this:

Let's add our layers and assets, we need a total of four layers with names ('Script', 'Buttons','The Text','Pix_mc').
- The Script Layer: this layer will have all our Action Script that will controll the navigation, so keep it locked for not adding symbols by mistake
- The Pix_mc layer: in here drag the 'pixNav' MC from the library and center it on the stage , give it an instance name in the property panel like 'thePix_mc'
- The Buttons Layer: drag the buttons that we did earlier and duplicate it as much as you have images (I added 6) place them wherever you want on the stage , name them in the property panel like 'the1_btn' , ' the2_btn',.....etc.
- The Text Layer: add a dynamic Text Field here, give it an instance name like 'info_txt' in the property panel. This will have a brief discription for each image
So, the final project will look like this image:
Now, let's go to the Scripting thing, open the Actions panel (F9) and let's shoot this thing up. What we want to do?, we want these buttons to control the position of each image when it's pressed while the Text Field shows up some info about the image that's in the view.

