













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Project; Class: Cmp Sci Proj Implm; Subject: Computer Science (CSC) ; University: University of Miami; Term: Unknown 2007;
Typology: Study Guides, Projects, Research
1 / 21
This page cannot be seen from the preview
Don't miss anything!














Digital Scrapbook Ronda Edwards Computer Science 411 Dr. Boris Djokic Dr. Geoff Sutcliffe 2007
Design Pages 1224 x 792 pixels per two page spread Each page is 612 x 792 pixels Center photo or title on most spreads Smaller surrounding photos Background to fit either theme of event or visually appealing with photos Title for event Decorative items on some pages Photo editing to enhance photos Book Instructions page Table of contents Two page spread for each event Each page 300 x 400 pixels Each spread 600 x 400 pixels Extra pages for special events such as Christmas party, Def Talent Jam, and Island Styles Flipping animation for turning to previous and next pages when appropriate corner is clicked or if the user can click and drag the page over manually Comments appear when user’s mouse hovers over a picture Photo is enlarged when user clicks on an image More information about the event when title is clicked
Captions will show on the edges of the book instead of on the actual pages of the book for better visibility. Link to Table of Contents on each Page Research After creating a few pages for my digital scrapbook, the next step was research. I searched the internet for examples of what I wanted my book to look like. I wanted to create a book where the user could turn the pages like a real book. I also wanted comments about the photos to appear when the user hovered over the image and for an enlarged version of the picture to pop up when the user clicked the image. Some of the websites I visited are: http://www.page-flip.com/ http://76design.com/shiftcontrol/index.php/2006/08/22/dynamic-page-flip-v2/ http://www.cartoonsmart.com/page_flip_gallery.html http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html http://www.flashkit.com/tutorials/Actionscripting/Page_Fli-Vivian-1361/index.php http://www.erain.com/support/Tutorials/v4/PageTurn/?erain=Mar http://www.arqangel.com/episodes.html Eventually I found an open source program for exactly what I wanted for the page turning effect. It was created by Macc from Ipari Grafika. The source file can be found at http:// www.iparigrafika.hu/pageflip/. I downloaded the source file and looked over the Action Script code and how everything worked. Once I looked everything over, I began playing around with it in order to customize it for the club. I created a test book with pictures that I have drawn over
The file that I was working from provided two different ways of automatically navigating to pages. One was to go through each page until you reach the target page. The other way was to skip directly to that page. I chose the second method because I felt that it would be more user- friendly. With a lot of pages, having to go through all of the pages to get to a page near the end would be tiring. I saw some books online with the other method, and I did not like waiting as the book cycled through all of the other pages. Also, when a person goes through a real book and locates a page from the table of contents, they do not generally go page by page to get there. They approximate where the page would be and go from there. I figured that if a user wants to go to a certain page, they would want to get there quickly and without interruption. Creating the Automatic Book After reaching a point in the project where the book creation was solely a matter of creating and adding new pages, I began to think of ways to make the project better and more useful. With help from my advisor, Geoff Sutcliffe, I decided to make a book that could flip through the pages automatically. The book has a method that allows the user to skip to a page specified by the parameters. I began by trying to create a button on the existing book that enabled the automatic flipping of pages, but when the page turned, the code for the button was no longer accessible. I then thought about the animation aspect of Flash and the use of frames to display an image for a certain amount of time before changing the image. I made a copy of the book. The next step was to figure out how to make the new book work, what to show, and how to show it. I decided that I wanted to have the book, once opened, show the Table of Contents page for two seconds and progress to the first scrapbook page. I originally had everything show
for three seconds, but switched to two when I felt that it was taking too long. After showing the full page for two seconds, it would show each picture for three seconds. After the last picture was shown, I wanted to go to the next page and continue. I first had to figure out the frame rate. This is the number of frames that are shown per second. For the animation of the page flip, the frame rate was set to twelve frames per second. Therefore I had to place each image on every 24 frames for two seconds and 36 frames for three. I also had to make sure that the image shows on each frame between its original frame and the first frame for the following image so that it will show consistently and so that it will not flash or disappear. On the last frame of the last picture for each page, the command to skip to the next page is made so that it continues showing everything until the end. In this book, the pages can still be turned by the user, but the buttons for the pictures are disabled. Creating the Game Another addition I made to this project is a game. The game consists of two types of questions. There are photo questions and there are trivia questions. The photo questions correspond to the scrapbook. They ask the player to either match the event titles to the correct photo or to select which photo does not belong. This part of the game used the drag and drop capabilities of Flash. I found a tutorial at http://www.video-animation.com/flash_07.shtml and adapted it for my project. I placed four photos on the page and created draggable buttons with the names of the events in the photos. I also created a dynamic text box to display whether the answer is correct or wrong. When all the answers are correct, the game progresses to the next question.
Testing Flash Player Internet Explorer Safari Firefox (Windows) Firefox (Macintosh) Firefox (UNIX) Page Transition
Pages Appear
Smooth Animation
Table of Contents (menu)
Table of Contents (pages)
Comments ^ ^ ^ ^ ^ Expand Photo
Sound ^ ^ ^ ^ ^ Speed ^ ^ ^ ^ ^ Auto Play ^ ^ ^ ^ ^ Game ^ ^ ^ ^ ^
Feedback CSC Program Feedback The following feedback was received from four different members of the Filipino Student Association after the general body meeting on March 2, 2007. I asked them to write down what they liked and did not like as well as what they thought should be added, removed or changed. One member wrote: Very enjoyable! Some of the pictures should be brightened. User-friendly Three members viewed the project and commented together. They gave the following suggestions for changes to the design: Skip pages quicker (select page) Bigger scrapbook (full screen) Sound of page turning (have a different one) More visible caption (different font) I have taken into account these suggestions and have used many of them to improve the scrapbook.
Always insert pages in pairs (back and front of page). If you do not, one side will be transparent. Hover and Click Effects for Pictures For these effects, I used buttons. All buttons must be placed on page on an even numbered page. This is the page that shows up on the left of the spread. To create a button from an image:
Making the Book Turn Automatically