Wednesday, November 5, 2008

Creating my Photo Pages

I wanted my photos to be arranged in a scattered way so they looked like they had been placed on the page by hand. My goal was to design these pages so that when you clicked on each image, they would enlarge.

Process to creating these pages:
  • Go to Flash and open up a Version 2 file
  • Make it the same dimensions as the visa page
  • Import to Library the Visa page to go in the background and the photos to go on that page
  • Create three layers on the timeline, at the top and actions layer, below it a photos layer and on the bottom a visas layer
  • On the timeline, create keyframes on the photos layer (you will need one more than the amount of photos you have)
  • Create frames at the end of this point on the other two layers
  • Click on the visas layer at the first keyframe
  • From the Library, drag and drop the visa image onto the stage
  • Use the Align toolbar to align it perfectly to the page
  • Lock the visas layer
  • Click on the photos layer at the first keyframe
  • Go to the Library and drag and drop each photo onto this layer
  • Use the scale tool to rotate, change the size and position each image where you want it to go
  • Right click on each photo on the stage.Go to Convert to Symbol and change them to Movie Clips (make sure you change the name to something recognisable ie. for photos for Santorini you would call them S1, S2, S3, S4 and S5)
  • Click on your first photo. Copy it and paste in place (Ctrl Shift V) onto the second keyframe. Do the same for the other photos, ensuring that each photo is on a separate keyframe
  • Go to your Library and create one folder for each photo (ie. S1b, S2b, S3b, S4b and S5b)
  • In the Library, find the movie clip for each photo (these will be called S1, S2, etc). Copy and paste each one into it's separate corresponding folder
  • Go to the second keyframe on the timeline on the photos layer. Click on the photo and down on the bottom toolbar click on the button called Swap and find the copied version of that movie clip that will be contained in the folder you made (ie. S1b will hold movie clip S1). Do this for each photo on each keyframe
  • Go to the second keyframe and double click on the movie clip. This will open up it's own timeline.
  • Rename the layer the image is on to be called Image. Create two more layers above called Button and Actions (make sure that the Button layer is on the top)
  • Create a keyframe at 25 on the timeline for each layer
  • Right click at the last keyframe for the Image layer and click Create Motion Tween. Click F6 to close it (an arrow should appear)
  • Go to the last keyframe and using the scale tool, rotate and enlarge the image to how you want ito to look when it is clicked on.
  • Click on the Actions layer. Go to the Actions toolbar and type in the code stop();
  • Click on the a at the beginning of the Actions timeline and drag and drop it into the last keyframe
  • Click on the Button layer at the last keyframe and drag and drop the button from the Library onto the stage. Resize the button to be about the same size as the photo enlarged
  • Go to the Actions toolbar and type in the code on(release){_root.gotoAndStop(1);} This will take you back to the first keyframe when you click on it
  • Click on the first keyframe on the Button layer and drag and drop it into the last keyframe
  • Click on the button and copy it
  • Go back to Scene 1, keyframe 1 and paste the button onto the stage. Resize it to fit the photo
  • Go to the Actions toolbar and change the code so it reads on(release){-root.gotoAndStop(2);} This will take you to the second keyframe where that movie is set up to play.
  • Repeat the last 14 steps for each photo, ensuring that when you change the code on the first keyframe of Scene One, you link it to the right keyframe in the timeline (ie. S1 will be in keyframe 2, S2 will be in keyframe 3, etc. Make you change the number in the code)

This process was quite lengthy and had to do at first, but once I had done a couple of pages, i was able to do it step by step from memory. I really like how the photo pages have turned out.

No comments: