Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
When you want to introduce a lot of new information to your audience, it is a good idea to present it in a way that is not overwhelming. On this page, we have a large number of color chips that I want to fade in but not all at once. Using the Timing panel, we can control the timing of their appearance when we first open the page. We are going to begin by grabbing our Selection tool, and selecting all of these squares. With all of these squares selected, we are going to open our Animation panel and change the preset to Fade In. Next, we'll set the Duration to 0.5 seconds. We can close that panel and then we are going to group them.
With our group selected, we are going to go to the Object State panel, make a new object state and add one more state. We'll call our object state "squares," and we are going to name the three states. The first one will be animated, no stroke and stroke. Next we'll deselect, select again, switch to our Direct Selection tool, open the Animation panel, and change the preset to None. Next, we'll switch to the no stroke state, deselect, switch to our Selection tool, select the object, switch to the Direct Selection tool again, open the Animation panel and choose None.
The reason we've removed the animation on these particular states is we don't want them to animate when they become active. Next, we are going to deselect, open the Object States panel, grab our Selection tool, select the state of stroke, switch to our Direct Selection tool, and add a 10 pt black stroke to our object. We'll switch back to the animated state as our default, and then close the Object States panel. Now, let's test our animation. You can see that the squares are randomly animating. I want to create more of a pattern.
Let's open up our Timing panel. Inside our Timing panel, we don't currently see anything. What we need to do is select our object and switch to the Direct Selection tool. Now, we are going to see on state load for animated squares. Let's put these in a different order. We are going to start with 1 followed by 2, then 4, 5 and 3, then 6, 11, 10, 12, 7, 13, 14, 8 and 15 and 9.
Now, let's play some of these together. 4 and 5, 3 and 6, 11, 10 and 12 and 7 and 13. Finally, we are going to add a delay to a few of them. We are going to select 5, hold down Command or Ctrl on the PC, 6, 10, 12 and 13. With all of these selected, we'll set a Delay to 0.1 seconds. Now that I have the timing finished, let's preview the animation.
Now, the color chips appear in a slow consistent order. Now that the animation is complete, we need to program our buttons. I am going to grab my Selection tool and select this first square. This square is going to hide all of our strokes. I am going to open up the Button panel. We are going to add an action that says Go To State, and we'll the choose square object, no stroke. Next, we'll select the Stroke button, open the Button panel, and add an action, Go To State and show stroke.
Now, let's test the page. The squares slowly appear. My button shows the strokes and my other button removes them. If you ever find yourself forgetting what square's which number, you can always double-click its name in the Timing panel, and it will become selected in the layout. This is useful for fine-tuning your animation. Feel free to experiment with the timing to create your own version of the animated squares.
Get unlimited access to all courses for just $25/month.Become a member
119 Video lessons · 51209 Viewers
117 Video lessons · 39044 Viewers
113 Video lessons · 81664 Viewers
65 Video lessons · 11886 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
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.
Your file was successfully uploaded.