Flipping book websites, also called “flip books,” “slide shows,” portfolios,” and “image galleries,” display pages, usually photos, one after the other. Flash 8 supports a number of ways to create flipping books. Techniques range from fairly simple to difficult and elaborate. One easy and fairly common method is to use Flash tweens to fade the images on and off the stage, and then use Flash’s Publish option to export the SWF movie file and embed it in an HTML web page. Flash’s Publish feature automatically exports the SWF and creates the supporting code in the HTML page.
- Skill level:
Other People Are Reading
Things you need
- Macromedia Flash 8
Start a new movie (FLA) file in Flash. Then, click “Modify” on the menu bar and select “Document.” This displays the Document Properties dialogue box. Set the “Width” and “Height” dimensions to match the size of the images that you plan to use to create the flipping book.
Click “File” on the menu bar and choose “Import.” Select “Import to Library” from the Import flyout menu. This displays the “Open” dialogue box. Select your images (Command-click each file), and then click “Open.”
Drag an image from the Library to the stage and centre it. You can centre the image by sight with your mouse or use the Align panel’s “To stage” option to centre the image precisely. To open the Align panel, click “Window” on the menu bar and choose “Align.”
Right-click the image and choose “Convert to Symbol” from the flyout menu. This opens the Convert to Symbol dialogue box. Name the symbol in the “Name” field and set the “Type” drop-down to “Graphic.” Click “OK.”
Right-click frame “80” on Layer 1 in the Timeline and choose “Insert Keyframe” from the flyout menu. This extends the Timeline to frame 80. Insert another keyframe in frame “100.”
Select the image on the stage in frame “100.” Click the “Style” drop-down in the Properties panel and choose “Alpha.” Drag the Alpha slider to the left to set the value to “0.” This makes the image transparent, or invisible.
Right-click any frame between frames 80 and 100. Choose “Motion Tween” from the flyout menu. This creates a fade effect between frames 80 and 100, fading the image off the stage.
Click the “Insert Layer” button in the lower-left corner of the Timeline panel to create a new layer. Drag the new layer downward, to place it below Layer 1.
Repeat these steps to place the rest of your images on the stage. Stagger each image out 80 frames. Create fade-out tweens in the next 20 frames. For example, place the next image in frame 80 on Layer 2. Insert a keyframe in frame 160 to extend the Timeline. Then, create the fade-out effect between frames 161 and 180. Place the next image in frame 160 on Layer 3, and so on.
Click “File” on the menu bar and choose “Publish Settings.” This opens the Publish Setting dialogue box.
Place ticks in the “Flash (.swf)” and “HTML (.html)” check boxes.
Click the “Publish” button at the bottom of the dialogue box. Flash exports the SWF and creates an HTML web page container, saving them with same file name and in the same directory as the FLA file. You can view the flipping book web page by double-clicking the HTML file.
Tips and warnings
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for