Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Adding interactivity to a document allows you to access more information in a variety of ways. Despite this, you should not forget about the little things, which can make your design be that much more enjoyable. Sometimes is useful to add animation, use buttons, or even audio just for the sake of having fun. On this page I am going to select this button. We are going to go to the Button panel, and we are going top add a Rollover state. While we are on the Rollover state I am going to open up the Button layer, the Bouy_btn layer, the Rollover layer, and finally I am going to select the Bouy itself by clicking the square.
I want to move over, so I can see this, grab my Zoom tool, and zoom in closer. with the buoy selected, I am going to change its rotation to -17 degrees. Now let's preview this spread. When I mouse over the buoy, it rotates back and forth. While right now it doesn't have a real functional purpose, it's kind of fun. If you're working in this page, you might accidentally mouse over the buoy and see a little animation, and it will bring a smile to your face. Let's close this panel and go to the first stage. I am going to zoom up by hitting Command+0 and the Mac or Ctrl+0 on the PC.
Then I am going to grab my selection tool and select this first gear. With this gear selected, I am going to the Animation panel and add a Rotation of 180 degrees, a Duration of 6 seconds, and then I am going to loop it. This is going to cause the gear to loop endlessly, but I don't want it to happen on a page load. I am going to turn this off. What I want to happen is when I mouse over this area, I want the gear to spin. So I am going to select this button, go my Button panel, and I am going to add an action On Roll Over.
I already have a Roll Over effect to play an MP3. I am going to add an action, to go to an Animation. I am going to choose gear 1 and choose Play. Then I'm going to go to Event, On Roll Off, add an action to Animation. I am going to choose Animation gear 1 and choose Stop. Let's move over the gear and see what happens. (Gears grinding) You will notice as I mouse over this button the animation doesn't play. I can hear the audio playing, but it takes a few moments for the gear to start spinning.
What's happening is the audio is about 5 seconds long and we have to wait for that audio to finish playing before we can see the gear animate. To fix this, we need to use the Timing panel. I am going to the Timing panel, and you'll see On Roll Over I have the MP3 and the gear animation. I am going to select both of these by holding my Shift key and choose Play Together. Then I am going into On Roll Off, select both of them and have them play together as well. This way when I mouse over the button, the animation and audio will play at the same time and when I mouse off, they will both stop. Let's preview.
(Gears grinding) Just as I expected. Trying to understand timing, buttons, and animations may seem like a lot to grasp, but at the end of the day don't forget to have some fun.
Get unlimited access to all courses for just $25/month.Become a member
119 Video lessons · 51031 Viewers
117 Video lessons · 38806 Viewers
113 Video lessons · 81602 Viewers
65 Video lessons · 11696 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.