Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Exploring the Animating Encyclopedia Script

From: InDesign CS5: Interactive Documents and Presentations

Video: Exploring the Animating Encyclopedia Script

Trying to decipher all of the possibilities of animation inside InDesign can seem overwhelming, especially if you've never worked with animation before. To get an overview of what is possible with animation, it is a good idea to explore the AnimationEncyclopedia script that is included with InDesign. The script was written by the engineers at Adobe to show us what is possible with animation. To run the AnimationEncyclopedia script, we are going to go to Window > Utilities > Scripts. Inside the Script panel, we are going to open up Application > Samples > JavaScript, and then double- click on AnimationEncyclopedia.

Exploring the Animating Encyclopedia Script

Trying to decipher all of the possibilities of animation inside InDesign can seem overwhelming, especially if you've never worked with animation before. To get an overview of what is possible with animation, it is a good idea to explore the AnimationEncyclopedia script that is included with InDesign. The script was written by the engineers at Adobe to show us what is possible with animation. To run the AnimationEncyclopedia script, we are going to go to Window > Utilities > Scripts. Inside the Script panel, we are going to open up Application > Samples > JavaScript, and then double- click on AnimationEncyclopedia.

In a few moments, InDesign will automatically build the document that we can run to explore all the animation properties. I no longer need this panel, so I am going to close it. Let's go to the first page and on the Animation Properties page, let's open up the Preview panel to take a look at what's possible. I am going to press Play. Each time we click on this page, we'll see a different property of animation. This is our motion path where something is moving across the page. Rotation allows an object to rotate. Opacity makes it fade in or fade out.

Scaling can make something larger or smaller, and Combination can do any or all of the above. The Color Fade is a little tricky. I'll explain that one in a moment. The last one moves along a curved path. Let's close this panel and explore. When I select Motion Path, you will see a green line show up. This means this object is going to move along that path. With Rotation, I see the exact same green line. In order to control the rotation, I have to open the Animation panel. Inside the Animation panel, I can see that it's rotating 270 degrees.

If I select Scale, you'll see that it's scaling to 20% of its current size. Combination is adding quite a few of the options, but Color Fade is a little tricky. I want to move this rectangle over slightly. Now when I preview this and I click, pay attention to the color fade. You will see the blue rectangle slowly fade in while the magenta rectangle faded away. This created the illusion of a color change. Finally, the Motion Path with a Curve, you will see there is a curved path that it moved along.

Let's look at the next page. This page is all about animation events. An event is what triggers an animation. The first event is On Page Load; that means as soon as I being up the Preview panel this rectangle will animate immediately. Next is On Page Click. As soon as I click anywhere on the page, it will rotate. On Click Self means I click on the animation. I can click again and again. On Roll Over is when I touch it. On Button Event means if I click on a different button, it will animate.

So if I click on the screen button, the other one animates. On State Load of Multi-State Object means when I click on this button, another object will become visible from a previous state. We will discuss multi-state objects in the later video. Animations Events are also controlled by the Animation panel. If I select this rectangle and I go to the Animation panel, you will see the event is On Page Load. I could change it here, and I could even add a secondary, On Page Load and On Page Click.

I'll leave it On Page Load for right now. Let's look at another page. The Additional Animation Properties and Settings is a little more complicated. Let's take a look at Additional Animation Properties and Settings. Inside the Animation panel, we can control the duration--which is how long the animation takes--and the speed--which can slow down an animation--and the play count--how many times we want it to animate, and we can even loop it. Visibility can hide an object before or after its animation, and the Origin controls where the animation occurs. Let's Preview. Duration: 2 seconds only. It will last for 2 seconds.

The .5 seconds is very quick. Ease In and Ease Out will slow down the animation at the beginning and end. Play Twice will have the animation rotate twice. Loop is continuous, meaning it will never end. Hide Until Animated had the object visible until the animation was complete. Hide After Animating was the opposite and the final two controlled the reference point for rotation. Let's look at page 4. Page 4 has the Animate Options: From Current Appearance, To Current Appearance, and To Current Location. Now I'll be honest with you: these three are a pretty confusing.

It took me a while to figure these out. Before we preview them, let's take a look at them on the page. Animate From Current Appearance means it's going to start however it is now but end somewhere else. Animate To Current Appearance means this is its final location and appearance. Animate To Current Location will bring the animation to a stop at this spot. Now, let's Preview. That was pretty quick. If you need watch it again, you can hit the Play button to watch it a second time. You can see From Current Appearance started on the left and moved to the right and got larger. Animate To Current Appearance started on the right and moved to left and got smaller while Animate To Current Location did not change its appearance; it just moved from a different spot to this location.

Page 5 has the Timing panel. The Timing panel controls the order of our animations. We can group them and delay them. Inside the Timing panel, there are three groups: the A group, the B group, and the C group--just like we see on the page. The A group has lines connecting them, which means all of these objects are going to play together. The same with B and C. If I go to the B group, you will see it has a delay of 1 second, followed by delay of half second, and finally a delay by a third full second. This means each object in the B group will wait a moment before it animates. Every object in the C group has the exact same delay.

Let's preview what's this spread looks like. If that went too quick for you, you can always hit the Play button and play it again. You can see that A group played immediately and the B group has a slight delay where one played after another. Because each object in the C group had the same small delay, it looked like a quick chain reaction. Let's close this panel and take a look at page number 6. Page 6 is about a scripted animation. This is a very complicated animation that we can't do ourselves inside InDesign. In order to access this type of complicated script, you will have to write your own script or have someone write one for you. Let's preview what this looks like.

You can see that this object went through multiple changes. It started as this rectangle, rotated multiple times, changed its opacity, and finally came back to a resting spot where it began. This isn't currently possible with the controls that we have inside in InDesign. Taking the time to deconstruct all of the animation properties will go a long way to helping you realize the effect that you're trying to create.

Show transcript

This video is part of

Image for InDesign CS5: Interactive Documents and Presentations
InDesign CS5: Interactive Documents and Presentations

83 video lessons · 27387 viewers

James Fritz
Author

 
Expand all | Collapse all
  1. 1m 56s
    1. Introduction
      1m 18s
    2. Using the exercise files
      38s
  2. 11m 45s
    1. Interactive documents: Born Magazine
      1m 49s
    2. Annual report case study: Unitus
      1m 44s
    3. Self-publishing
      1m 59s
    4. Digital books: iBooks, ePub
      2m 15s
    5. Digital newspapers: Times Reader
      1m 51s
    6. Digital magazines: Wired, iGIZMO, The New Yorker
      2m 7s
  3. 12m 32s
    1. Setting preferences for interactive documents
      2m 36s
    2. Customizing the workspace
      3m 6s
    3. Understanding intent and presets
      2m 21s
    4. Working with images
      2m 37s
    5. Installing scripts
      1m 52s
  4. 9m 40s
    1. Comparing PDF and SWF presentations
      2m 5s
    2. Presenting from InDesign: Presentation mode
      2m 2s
    3. Presenting a SWF
      1m 50s
    4. Presenting a PDF
      1m 8s
    5. Creative tip: Practice your presentation
      2m 35s
  5. 33m 42s
    1. What we're going to build
      1m 28s
    2. Previewing your layout with the Preview panel
      3m 25s
    3. Creative tip: KISS (Keep It Super Simple)
      3m 11s
    4. Setting up a presentation with layers
      5m 21s
    5. Creating a navigation system
      5m 5s
    6. Creating a title and content slides
      4m 40s
    7. Overriding master page items
      3m 21s
    8. Setting page transitions
      2m 31s
    9. Creating hyperlinks
      2m 26s
    10. Using the slug for notes
      2m 14s
  6. 23m 30s
    1. Adding a Full Screen button with a tool tip
      4m 15s
    2. Creating PDF bookmarks in InDesign
      3m 19s
    3. Using a button to go to a specific page in a PDF
      3m 11s
    4. Using animation inside a PDF presentation
      6m 15s
    5. Exporting your presentation to interactive PDF
      4m 6s
    6. Creating a PDF Portfolio presentation
      2m 24s
  7. 29m 50s
    1. Exploring the Animating Encyclopedia Script
      6m 24s
    2. Using the Animation panel
      3m 38s
    3. Animating a list
      2m 28s
    4. Designing an alternate navigation
      3m 35s
    5. Creating a multistate object
      4m 25s
    6. Creating a page number indicator
      1m 59s
    7. Animating an opening page
      1m 53s
    8. Using Page Turn vs. Page Curls
      2m 4s
    9. Exporting your presentation to SWF
      2m 21s
    10. Watching out for transitions with animations
      1m 3s
  8. 24m 3s
    1. What we're going to build
      1m 43s
    2. Creative tip: Breaking down a complex animation
      3m 2s
    3. Taming the Timing panel
      1m 43s
    4. Animating on a motion path
      3m 2s
    5. Creating a sound hot spot
      2m 34s
    6. Creating a slideshow with a multistate object
      1m 50s
    7. Creating a loaded button
      2m 43s
    8. Creating an interactive map
      4m 25s
    9. Creative tip: Have fun!
      3m 1s
  9. 15m 38s
    1. What we're going to build
      1m 19s
    2. Creating the opening transition
      4m 20s
    3. Creating a logo slideshow
      2m 34s
    4. Animating the color palette
      3m 44s
    5. Combining multistate objects and buttons
      3m 41s
  10. 28m 45s
    1. What we're going to build
      1m 26s
    2. Building an interactive table of contents
      4m 19s
    3. Building a navigation system
      2m 9s
    4. Creating PDF-only buttons
      3m 1s
    5. Using a SWF slideshow in a PDF
      4m 14s
    6. Placing a video and using the Media panel
      3m 59s
    7. Setting navigation points
      3m 24s
    8. Placing a video from a URL
      2m 2s
    9. Creating URLs from hyperlinks
      4m 11s
  11. 22m 40s
    1. Preparing your layout for Export
      5m 7s
    2. Handing off your InDesign layout to Flash
      3m 11s
    3. Opening the FLA file in Flash CS5 Professional
      2m 33s
    4. Adding a stop command and testing the movie
      2m 22s
    5. Fixing the buttons
      3m 8s
    6. Importing a video into Flash
      1m 45s
    7. Editing the animations
      2m 59s
    8. Publishing a SWF
      1m 35s
  12. 17m 0s
    1. Avoiding legacy media
      1m 11s
    2. Converting a video into FLV with Adobe Media Encoder
      1m 52s
    3. Using the JPG Pass-Through filter
      2m 32s
    4. Avoiding compatibility issues
      3m 7s
    5. Slimming down your FLA
      2m 41s
    6. Sharing motion presets
      3m 40s
    7. Testing hyperlinks in a SWF
      1m 57s
  13. 34s
    1. Further Recommendations
      34s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed InDesign CS5: Interactive Documents and Presentations.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.