Adobe InDesign CC 2015 release (2016)

15. Creating a fixed-Layout epub

Lesson Overview

In this lesson, you’ll learn how to do the following:

• Create a new digital publishing document.

• Create animations using a motion preset and a motion path.

• Configure the timing of multiple animations.

• Preview animations and interactivity within InDesign.

• Add a movie, a sound, a slideshow, buttons, and a hyperlink.

• Export a fixed-layout EPUB and preview it in a viewing app.

Image

This lesson will take approximately 1 hour.

Download the project files for this lesson from the Lesson & Update Files tab on your Account page at www.peachpit.com and store them on your computer in a convenient location, as described in the “Getting Started” section at the beginning of this book.

Your Account page is also where you’ll find any updates to the chapters or to the lesson files. Look on the Lesson & Update Files tab to access the most current content.

Image

The fixed-layout EPUB capabilities of InDesign let you create media-rich publications with animations, movies, slideshows, sounds, and hyperlinks, and you can include buttons that enable viewers to perform a variety of actions, from clicking through a slideshow to playing a sound file.

Getting started

In this lesson, you’ll begin by creating a new fixed-layout EPUB. After you’ve set up the new document, you’ll open a partially completed version of the publication, add several multimedia and interactive elements, and then save and preview a fixed-layout EPUB that can be viewed on a variety of EPUB readers.


Image Note

If you have not already downloaded the project files for this lesson to your computer from your Account page, make sure to do so now. See “Getting Started” at the beginning of the book.


The biggest difference between a fixed-layout EPUB and a reflowable EPUB, which is the other option for exporting EPUBs, is that a fixed-layout EPUB retains the design of the InDesign document regardless of the device on which it’s displayed, in contrast to a reflowable EPUB, which displays content in a continuous thread and reflows the content based on the size of the e-reader screen. The fixed-layout format lets you include buttons, animations, video, and audio in your publications, and viewers of fixed-layout EPUBs can view the pages and interact with the buttons and multimedia elements. This format is better suited for more design-intensive publications, such as children’s books, textbooks, and comic books, while the reflowable format is the preferred choice for text-intensive publications.


Image Note

InDesign CC offers two choices for EPUB export: EPUB (Reflowable) and EPUB (Fixed Layout). This lesson covers creation of a fixed-layout EPUB. For more information about EPUB (Reflowable) export, see the free bonus lesson “Creating and Exporting an eBook”, which you can download from the Lessons & Updates page on peachpit.com (where you downloaded your lesson files). For instructions, see the “Getting Started” section at the start of this book.


1. To ensure that the preference and default settings of your Adobe InDesign program match those used in this lesson, move the InDesign Defaults file to a different folder following the procedure in “Saving and restoring the InDesign Defaults file” on page 3.

2. Start Adobe InDesign. To ensure that the panels and menu commands match those used in this lesson, choose Window > Workspace > [Digital Publishing], and then choose Window > Workspace > Reset Digital Publishing. This optimizes the panel arrangement for the work you’ll be doing in this lesson and provides quick access to several of the controls you’ll use.

3. To see what the finished document looks like, open the 15_End.indd file in the Lesson15 folder. (If the Missing Fonts dialog box displays, click Sync Fonts, and then click Close after the fonts have successfully synced from Typekit.) If an alert informs you that the document contains links to sources that have been modified, click Update Links.

4. Navigate through the finished document to view the cover page and the page that follows.

Image

5. Close the 15_End.indd file after you have finished examining it, or you can leave this document open for reference.

Creating a new document for fixed-layout export

Because exported EPUBs are viewed onscreen (on mobile devices such as tablets or on desktop computers, for example) and can include elements such as buttons, animations, and video that can’t be included in print documents, creating a document that’s intended for export in the EPUB format differs in some ways from creating a print document. That said, all of the typographic and page-layout features covered in this book are available and work the same when creating digital publications. To begin, you’ll create a new digital publishing document.

1. Choose File > New > Document.

Image


Image Note

Setting a new document’s Intent to Web (or Digital Publishing) deselects the Facing Pages option, sets the default page orientation to Landscape, and changes the unit of measurement to pixels. It also sets the Transparency Blend Space (Edit > Transparency Blend Space) to RGB and the default color swatches in the Swatches panel to Process RGB for the new document.


2. In the New Document dialog box, choose Digital Publishing from the Intent menu and iPad from the Page Size menu. Also specify the following:

In the Number of Pages box, type 2, and deselect Primary Text Frame. Leave all other settings unchanged, and click OK.

3. Choose File > Save As, name the file 15_Setup.indd, navigate to the Lesson15 folder, and click Save.

Rather than create the remainder of the document from scratch, you’ll continue this lesson by opening a partially completed document that already contains most of the required objects. You can keep the 15_Setup.indd document open or close it and continue.

Adding animation

Animation effects let you add movement and other visual effects to InDesign objects and groups. For example, you can animate a text frame by making it fly into place from outside the page, or you can fade in a graphic from transparent to opaque. InDesign includes several motion presets, which are preset animations that you can quickly apply to objects. You can also use any object as a motion path for another object or group.


Image Tip

For detailed information about using the animation features in InDesign, Peachpit offers Creating Animations in Adobe InDesign One Step at a Time by Sandee Cohen. Go to http://bit.ly/1euwGN9 for more information. (Note: This book is scheduled to be released in August 2015.)


Next, you’ll examine a group that has already been animated and preview the animation within InDesign, and then you’ll create two animations of your own: one that uses a motion preset and one that uses a motion path.

Using a motion preset to create animation

The quickest and easiest way to animate an object or group is to apply any of more than 40 built-in motion presets. After you apply a preset, you have several options for controlling how the animation is played, including the event that triggers the animation and the duration.

1. Choose File > Open, and then open the 15_FixedLayoutGuide_Partial file in the Lesson15 folder.

2. Choose File > Save As, name the file 15_FixedLayoutGuide.indd, and save it in the Lesson15 folder.

Before you create an animation, you’ll take a look at a group that’s already had animation effects applied to it.

3. Use the Selection tool (Image) to click the heading at the top left of the page. A dotted-line border indicates that you’ve selected a group. Notice that there’s a small icon in the lower-right corner of this group of objects. This indicates that an animation has been applied to a group. Notice, too, that there’s a green, vertical line extending from the top of the page and ending with an arrowhead in the center of the frame. This green line indicates the path along which the group will move as part of the animation.

Image


Image Tip

When you choose a motion preset, a proxy preview of the animation is displayed at the top of the Animation panel. Move the pointer within the proxy window to repeat the preview of the selected preset.


4. Choose Window > Interactive > Animation or click the Animation icon to open the Animation panel. Notice that the group has a name (group1) and Fly In From Top is selected from the Preset menu. When On Page Load is selected from the Event menu, the animation will start playing as the page is displayed.

Image

5. To preview the animation, click the Preview Spread button (Image) at the bottom of the Animation panel. The EPUB Interactivity Preview panel opens, and the animated headline flies in from above the page. Drag the bottom-left or bottom-right corner of the EPUB Interactivity Preview panel to enlarge the panel and create a larger preview.

You may have noticed that the graphic at the bottom of the page also contains four animated gears. Next, you’ll animate the entire object so that it, too, flies in from off the page—gears turning as a result of animations that have already been applied.


Image Tip

Clicking the expansion arrow next to Properties in the Animation panel expands the panel and provides access to several additional animation controls.


6. Close the EPUB Interactivity Preview panel.

7. Use the Selection tool to select the group at the bottom left of the page. (Notice the animation icons for the gears.)

8. In the Animation panel, ensure that On Page Load is selected in the Event(s) menu and Fly In From Left is selected in the Preset menu.

9. Click the Preview Spread button to view the animation. Notice that the group at the top of the page appears first, followed shortly by the group at the bottom of the page.


The EPUB Interactivity Preview panel

The EPUB Interactivity Preview panel lets you preview an InDesign document that includes multimedia, animation, and interactivity without having to switch to a separate program. You can display the panel by choosing Window > Interactive > EPUB Interactivity Preview or by clicking the Preview Spread button in the lower-left corner of the Animation, Timing, Media, Object States, or Buttons And Forms panels.

You can perform the following functions in the EPUB Interactivity Preview panel:

• Play Preview (Image): Click to play a preview of the document. Alt-click (Windows) or Option-click (Mac OS) to replay the preview.

• Clear Preview (Image): Click to clear the preview.

• Navigate between previous page (Image) and next page (Image): Click the left and right arrows to navigate between previous and next pages. Preview Document Mode must be enabled to navigate to the previous or next page. Click Play to enable the previous page and next page buttons.

Image

• Set Preview Spread Mode (Image): Click to set the mode to preview spread mode. This is the default mode and especially useful for testing interactive elements on the current page.

• Set Preview Document Mode (Image): Click to set the mode to preview document mode. This mode allows you to run through each page of the document and test the interactive elements.

• Collapse/Expand panel (Image): Click to expand/collapse the EPUB Interactivity Preview panel.


Using a custom motion path to create animation

Many of the motion presets in InDesign cause an object to move along a path. In addition to using this type of preset to animate an object, you can use any InDesign object as the path for animating another object by converting it to a motion path, which you’ll do next.

1. Navigate to page 2 of the document. Notice the squiggly black line in the upper-right corner and the bee graphic on the pasteboard.

2. Using the Selection tool, hold down the Shift key and select the bee graphic and the black line.

3. Click the Convert To Motion Path button (Image) at the bottom of the Animation panel. Notice that the black line is now green, indicating that it has been converted into a motion path (and will not show onscreen or print, and the animation is automatically named Bee.ai, matching the filename of the placed graphic). You’ll return to the Animation panel later to further configure the animation, but first you’ll create a button that plays the animation.

Image


Image Tip

The Options menu in the Buttons And Forms panel provides several options for configuring buttons that control animations. In addition to Play, you can choose Stop, Pause, Resume, Reverse, and Stop All.


4. Use the Selection tool to select the apple-shaped object.

5. Choose Window > Interactive > Buttons And Forms or click the Buttons And Forms icon to open the panel.

6. Choose Button from the Type menu in the Buttons And Forms panel, and enter Bee Buzz in the Name field.

7. Make sure On Release Or Tap is selected in the Event(s) menu. Click Add New Action For Selected Event (Image) in the Actions menu, and choose Animation. Because the page has only one animation, it is automatically selected in the Animation menu.

8. Choose Play from the Options menu.

Image

9. Use the Selection tool to select the bee graphic on the pasteboard. In the Animation panel, choose On Page Load from the Event(s) menu to deselect this option and prevent the animation from playing automatically when the page opens. Click the Event(s) menu again, and notice that On Button Event is the only option selected. This indicates that clicking the button you just created will trigger the animation.


Image Tip

The Duration value controls the length of time the animation will take to play one time. The Play field controls the number of times the animation plays. If you select the Loop option, the animation will play continuously once it’s been triggered by the button event.


10. Enter 6 in the Duration field. Leave the Play setting at its default value (1).

11. Click the Preview Spread button at the bottom of the Animation panel to preview the page, and then click the apple graphic to play the animation.

12. Close the EPUB Interactivity Preview panel.

13. Choose File > Save to save your work.

Next, you’ll adjust the timing of the two animations so that they play simultaneously instead of one after the other.

Adjusting the timing of animations

The Timing panel lists the animations on a page or spread and lets you change the order in which animations are played, play animations simultaneously, or delay animations. You’ll use the Timing panel to adjust the animations of the two groups on page 1 so that they both play when the page is displayed.

1. Navigate to page 1 by choosing Previous Page from the Layout menu.

2. Choose Window > Interactive > Timing or click the Timing icon to open the Timing panel. Make sure that On Page Load is selected in the Event menu. This displays a list of all animations that are configured to play when the page loads.

3. Click “group1” at the top of the list in the Timing panel to select it. Hold down the Shift key and click “group2” at the bottom of the list to select all animations on the page.

Image

4. Click the Play Together button (Image) at the bottom of the Timing panel, and then click the Preview Spread button to view the animation.

5. Close the EPUB Interactivity Preview panel.

6. Choose File > Save to save your work.

Adding multimedia and interactive elements

The ability to add movies and sounds to an InDesign document that will be exported as a fixed-layout EPUB means that you can create media-rich, interactive publications that aren’t possible with print publishing.

In many ways, imported movies and sounds are like other InDesign objects. For example, you can copy, paste, move, and delete movies and sounds just like other objects—but they also have unique properties that you can adjust within InDesign.


Image Note

You can import video files in H.264-encoded MP4 format and audio files as MP3 format. You can use the Adobe Media Encoder application that is part of a Creative Cloud membership to convert other video or audio formats to MP4 or MP3.


Adding a movie

Adding a movie to a fixed-layout EPUB design document is similar to adding a photo or illustration to a print document. Next, you’ll import a movie into the document and use the Media panel to choose a graphic to use as the poster image for the movie.

1. Use the Selection tool (Image) to select the empty rectangular graphics frame in the upper-right corner of page 1.


Image Note

A poster image is the static image that’s displayed in an e-reader before the video plays.


2. Choose File > Place and select the Cycling.mp4 video file in the Links folder in the Lesson15 folder. Make sure Replace Selected Item is selected in the Place dialog box, and then click Open.

3. Choose Window > Interactive > Media, or click the Media icon to display the Media panel. If you want, use the controls below the movie image to preview the movie.

4. From the Poster pop-up menu in the Media panel, choose Choose Image. Select Cyclist.jpg in the Links folder in the Lesson15 folder, and then click Open. This graphic is the first frame of the movie with a title and a video icon in the lower-left corner that indicates to the viewer that the frame contains a movie.

Image

5. Click the Preview Spread button at the bottom of the Media panel to view the page. In the EPUB Interactivity Preview panel, click the play/pause button in the movie controller to play and pause the movie and adjust the sound volume.

6. Click the page background or the pasteboard to deselect all objects.

7. Close the EPUB Interactivity Preview panel.

8. Choose File > Save.

Adding a sound

Adding a sound to a page is the same as adding a movie, but because movies and sounds are different types of media, the options for controlling how sounds are displayed and played are a little different from those for modifying movies.

Next, you’ll add a sound to the cover page, and then you’ll convert one of the objects on the page into a button that plays the sound when clicked. You’ll also hide the sound object so that it’s not visible on the page.

1. Click an empty area on the page or pasteboard to ensure nothing is selected.

2. Choose File > Place and select the enjoySpread_gears.mp3 sound file in the Links folder in the Lesson15 folder, and then click Open.

3. Click the lower-left corner of the page below the animated group. Don’t worry about placing it precisely because you’ll hide this object later.

Image


Image Tip

By default, a controller is displayed for a sound file. The Media panel doesn’t include an option that enables you to turn off display of the controller for a sound file.


4. Open the Media panel, and notice the options available for a sound file. Leave the default settings unchanged.

Image

This is all you need to do to add a sound, but for this lesson, instead of displaying sound controls in the e-reader, as would happen if you left the object where it is, you’ll hide it and then configure a button to play it.

5. Use the Selection tool to move the sound object to the lower-left corner of the text frame above it.

6. Choose Object > Arrange > Send To Back.

Image

7. Use the Selection tool to double-click within the red area of the circle in the group at the lower-left of the page to select the circle.

8. Choose Window > Interactive > Buttons And Forms or click the Buttons And Forms icon to open the panel.

9. Choose Button from the Type menu in the Buttons And Forms panel, and enter Play Gears in the Name field.

10. Make sure On Release Or Tap is selected in the Event menu. Click Add New Action For Selected Event (Image) in the Actions menu and choose Sound. Because the page has only one sound, it is automatically selected in the Sound menu. Ensure that Play is selected in the Options menu.

Image

11. Click the Preview Spread button. Click within the red circle to play the sound.

12. Close the EPUB Interactivity Preview panel.

13. Choose File > Save.

Creating a slideshow

A slideshow is a sequence of images displayed one at a time as a viewer taps Previous and Next buttons. The sample document for this lesson already includes the graphics you need to create an interactive slideshow. You’ll arrange these graphics in a stack, convert them into a multi-state object, and then configure buttons that enable a viewer to navigate through the slides.


Image Tip

InDesign automatically selects the Sea Slugs multi-state object because it’s the only one on the page. When there are multiple multi-state objects on a page, you may need to choose the correct multi-state object from the Object menu in the Buttons And Forms panel.


1. Navigate to page 2 of the document.

2. Select the Selection tool (Image), and then select the frontmost of the seven overlapping graphics frames.

3. Press Shift, and then select each of the other six overlapping graphics frames in succession from front to back. Release the Shift key after you’ve selected all seven frames.

4. In the Control panel, choose Align To Selection (Image) if it’s not already selected. Click the Align Left Edges button (Image), and then click the Align Top Edges button (Image).

5. With the graphics frames still selected, choose Window > Interactive > Object States or click the Object States icon to display the Object States panel, and then click the Convert Selection To Multi-State Object button at the bottom of the panel. If necessary, lengthen the panel to display the names of all objects.

Image

Multiple objects selected and aligned

Image

Graphics frames combined into a multi-state object. Each image appears as a separate state in the Object States panel.

6. In the Object States panel, enter Sea Slugs in the Object Name box, and then press Enter or Return.

Now that you’ve created a multi-state object, you’ll provide a way to let viewers scroll through the images.

7. Use the Selection tool to select the red arrow in the lower-left corner of the page.

8. Choose Window > Interactive > Buttons And Forms or click the Buttons And Forms icon to display the Buttons And Forms panel.

9. In the Buttons And Forms panel, click Convert To Button at the bottom of the panel, enter Previous in the Name box, and then press Enter or Return.

Image

10. Click Add New Action For Selected Event (Image) in the Actions menu, and choose Go To Previous State from the menu.

11. Select the right-pointing red arrow and repeat steps 9–10 to configure a button named Next. When you click Add New Action For Selected Event, choose Go To Next State from the Actions menu.

12. Click the Preview Spread button. Click the Previous and Next buttons you created to view the slideshow you created.

13. Close the EPUB Interactivity Preview panel.

14. Choose File > Save.

Creating a hyperlink

Hyperlinks let viewers jump to other locations in a document, as well as to other documents or to websites. A hyperlink includes a source element (text, a text frame, or a graphics frame) and a destination, which is the URL, file, e-mail address, page text anchor, or shared destination to which the hyperlink jumps. Next, you’ll create a hyperlink to a website using a text frame.

1. Use the Selection tool to select the text frame that contains the main article on page 2.

2. Choose Window > Interactive > Hyperlinks, or click the Hyperlinks icon to display the Hyperlinks panel.

3. Choose New Hyperlink from the Hyperlinks panel menu.

4. Select URL from the Link To menu, and type a URL in the URL field (the sample document uses http://www.seaslugforum.net). Deselect Shared Hyperlink Destination. Under PDF Appearance, leave Invisible Rectangle and None selected. Click OK.

Image

5. Choose Window > Interactive > EPUB Interactivity Preview, and then click the text frame to which you added the hyperlink. The Sea Slug Forum - Home Page is displayed in your browser.

6. Return to InDesign, and display the first page of the document.

7. Close the EPUB Interactivity Preview panel.

8. Choose File > Save.

Exporting an EPUB file

Now that you’ve added and configured the required multimedia and interactive elements, the document is ready to be exported as a fixed-layout EPUB file. The process is similar to exporting a reflowable EPUB as you did in the previous chapter.

Specifying export settings

Much as the settings in the Print dialog box control the appearance of printed pages, the settings you make when you export an InDesign document as an EPUB control the appearance of the EPUB.

1. Choose File > Export.

2. In the Export dialog box, choose EPUB (Fixed Layout) from the Save As Type menu (Windows) or the Format menu (Mac OS).

3. In the File Name box (Windows) or the Save As box (Mac OS), name the file FXL_Guide.epub and save the file in the Lesson15 folder, located inside the Lessons folder within the InDesignCIB folder on your hard drive.

4. Click Save to close the Export dialog box.

5. In the General section of the EPUB - Fixed Layout Export Options dialog box, notice that EPUB 3.0 is automatically displayed for Version. This is the only EPUB format available for fixed-layout EPUBs. Make sure the following options are selected:

• Export Range: All Pages

• Cover: Rasterize First Page

• Navigation TOC: None

• Spread Control: Disable Spreads

Image

6. Click Metadata in the list in the upper-left corner of the EPUB - Fixed Layout Export Options dialog box. Enter City Guide in the Title field and your name in the Creator field.

Image

7. Click Conversion Settings in the list in the upper-left corner of the EPUB - Fixed Layout Export Options dialog box. Choose PNG from the Format menu to ensure that the graphics in grouped objects are displayed correctly in the exported EPUB.

8. Click Viewing Apps in the list in the upper-left corner of the EPUB - Fixed Layout Export Options dialog box.

If Adobe Digital Editions is installed on your computer, System Default is automatically selected in the Viewing Apps section, and Digital Editions is the listed application. If you’ve installed Adobe Digital Editions and it’s not listed as an application, click Add Application and select it from the Program folder (Windows) or Applications folder (Mac OS) on your computer, and then select it as the preferred viewing application. Alternatively, select another program that reads EPUBs. When the EPUB is exported, it is automatically opened in the selected program. The Adobe Digital Editions software is available as a free download from www.adobe.com.

Image

9. Click OK to export a fixed-layout EPUB. If an alert is displayed warning that certain objects might not appear as expected after export, click OK to continue and view the EPUB.

If Adobe Digital Editions is installed on your computer, the EPUB file will open automatically, and you can scroll through it to view the content. You can also open the EPUB file on any device that supports the EPUB format. If you selected both iBooks.app and Adobe Digital Editions, the EPUB opens in both programs.

10. Return to InDesign.

11. Choose File > Save.

Congratulations! You’ve created a fixed-layout EPUB with multimedia and interactivity that will have the same layout across all viewing devices.

Exploring on your own

In this lesson, you created animations and configured movie and sound files. For additional practice, try some of the following exercises. You can continue working on the sample document and save your changes or not, or you can choose File > Save As and save a new document with a new name to the Lesson15 folder.

If you don’t want to use the default controls for movies, you can disable the default controller and create your own buttons for playing, pausing, stopping, and resuming a movie. To save you time, the sample files for this lesson include a set of prebuilt objects—saved as an InDesign snippet file—that you can quickly convert to buttons and then configure to perform movie actions.

1. If it’s not showing, navigate to the first page of the document.

2. Choose File > Place, and then double-click the VideoControlButtons.idms snippet in the Links folder in the Lesson15 folder.

3. Click beneath the movie poster image to place the snippet, and then use the Selection tool to align the leftmost “button” with the left side of the image. (Although these look like buttons, each one is a simple group that includes a background frame to which a Bevel And Emboss effect has been applied and one or two black shapes that indicate the function of the button.)

Now, you need to convert each of the four groups into a button that performs a movie-related action.

Image

4. Click the page background or pasteboard to deselect everything, and then click the leftmost group to select it. In the Buttons And Forms panel, choose Button from the Type menu, and enter Play Movie in the Name field.

5. Choose Video from the Actions menu. Because there’s only one movie on the page (Cycling.mp4), it’s automatically selected in the Video menu.

6. Choose Play from the Options menu.

7. Repeat steps 4–6 for each of the remaining three groups:

• Name the second group Stop Movie, and choose Stop from the Actions menu.

• Name the third group Pause, and choose Pause from the Action menu.

• Name the fourth group Resume, and choose Resume from the Action menu.

8. Click the Preview Spread button in the Animation, Timing, or Media panel, and then click the buttons you created to control the play of the movie.

In this lesson, you used the Timing panel to configure six animated objects on page 1 to play simultaneously. The controls in the Timing panel also let you play the animations sequentially in any order you want, and you can even create combinations of simultaneous and sequential timing.

Image

1. With page 1 displayed in the document window, make sure nothing is selected, and then open the Timing panel.

2. With the Selection tool, move the pointer over the vertical line to the left of the animation names. A tool tip informs you that the animations are configured to play together. Click to select all animations, and then click the Play Separately button (Image) at the bottom of the panel.

3. Click the Preview Spread button at the bottom of the panel to preview the page. Notice that group1 at the top is the first animation, followed by a long pause—during which the four off-screen gears are starting to rotate in sequence—and the group at the bottom is the final animation, reflecting the order in the Timing panel.

4. Drag group2 upward, and release it when a horizontal line is displayed below group1. Preview the page, and notice the change affects the animations.

5. The Delay field lets you add pauses between animations. Experiment with this field by selecting individual animations and specifying a Delay value. Preview the page each time you make a change.

6. Continue to experiment by creating different combinations of sequential and simultaneous animations. For example, configure group1 and group2 to play together first, and configure the gears to play together after a short delay.

At the beginning of this lesson, you created an animation by applying a motion preset—Fly In From Left—to a group. The Animation panel provides many other motion presets, and many of the presets are motion-based; however, others don’t involve movement but instead change the appearance of an object. For example, Grow and Shrink do what the names suggest—make an object larger or smaller (without moving it). For this exercise, spend a little time experimenting with different motion presets.

1. Navigate to page 2, and use the Selection tool to select the black van at the bottom of the page. Because it’s part of a group, you need to click twice to select it. You’ll notice after selecting the van that it’s a group of its own.

2. In the Animation panel, choose Fly In From Right from the Preset menu. Preview the page. If you want, change the settings for Duration, Play, Speed, and Loop. Preview your changes as you make them.

3. Continue to choose different options from the Preset menu, and preview the page each time you change presets.

During this lesson, you configured two already-created objects into a motion path, which allowed you to move an object in a way that’s not possible with any of the motion presets. To review this feature, create your own motion path.

1. Use the Ellipse Frame tool to draw a small circular frame on the pasteboard to the left of page 2, and fill it with a color.

2. Use the Pencil tool or the Pen tool to draw a wavy, irregular line that extends from the pasteboard on the left side of the page to the pasteboard on the right side of the page.

3. Use the Selection tool and Shift-click to select the circle shape and the line, and then click the Convert To Motion Path button at the bottom of the Animation panel.

4. Preview the animation.

5. By default, the animation plays when the page is loaded. Select the van group and use the Buttons And Forms panel to convert it into a button that plays the circle animation. Test the button by previewing the animation and clicking it.

After you imported a sound file in this lesson, you configured a button to play the sound. You also hid the sound object, which also hides the sound controller in the exported file. See what happens if you choose to display the sound.

1. Display page 1 in the document window, and then use the Selection tool to select the sound file that you placed behind the text frame with the red background. Hold down the Ctrl key (Windows) or Command key (Mac OS) and click twice to select an object that’s behind another object.

2. Choose Object > Arrange > Bring To Front.

3. Drag the frame to the lower-left corner of the page. Align the frame’s left and bottom edges with the left and bottom margin guides.

4. In tbe Media panel, choose Standard from the Poster menu. This displays a sound icon within the frame on the InDesign page, as well as in an exported interactive PDF file.

5. Hold down the Ctrl key (Windows) or Command key (Mac OS) and drag the middle-right handle of the sound frame to the right until it slightly overlaps the closest gear.

6. Preview the page in the EPUB Interactivity Preview panel. Notice the sound controller and use the controls to play and pause and to mute and unmute the sound.

Review questions

1. What’s the primary difference between a reflowable EPUB and a fixed-layout EPUB?

2. InDesign provides two methods for animating objects. What are they, and how do they differ?

3. By default, animations play in the order in which they were created. How can you change the order in which animations are played or play multiple animations simultaneously?

4. How can you preview multimedia and interactive elements within InDesign?

5. How do you create a slideshow?

Review answers

1. The reflowable EPUB format allows the EPUB reader to optimize the content depending on the display device. For example, the viewer of a reflowable EPUB can adjust the display size of the text, which affects the amount of text on a given page and the flow of text from page to page. In fixed-layout EPUBs the dimensions of the original InDesign pages are maintained, as is the fidelity to the original layout.

2. You can animate objects in groups by choosing a motion preset in the Animation panel, or you can create a motion path. A motion path consists of two elements: the animated object or group and a motion path along which the animated object moves.

3. The controls in the Timing panel let you control when animations are played. All animations associated with the selected Event (such as On Page Load and On Page Click for the animations on the first page of the sample document) are displayed. You can drag the names within the list to change the order in which they’re played. You can also select multiple animations and click the Play Together button (Image) to play them simultaneously.

4. The EPUB Interactivity Preview panel lets you preview and test multimedia and interactive elements. The Animation, Timing, Media, Object States, and Buttons And Forms panels all include a Preview Spread button, and you can also display the panel by choosing Window > Interactive > EPUB Interactivity Preview.

5. To create a slideshow, first create a stack of objects, and then use the Object States panel to create a multi-state object. Next, create and configure two buttons: one that displays the previous state of the multi-state object and one that displays the next state.