Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In this chapter, we're going to talk about animating with ActionScript using the tween class. If you're following along, I'm in Dynamic _With_Events_Final.swf in the Chapter 2 folder in the Exercise Files folder. In this movie, we'll talk a little bit about why you'd want to animate using ActionScript tweens. Let's click on the Home button and see what happens. Background slides in and the page content kind of fades in after the background is done sliding in. Let's click the next page.
When you click another button, the page content fades out and then the whole background slides away. The new background slides in and once it's done sliding in, the new page information slides in. I'm going to click the About button, and the same thing happens. So I can go back and forth and watch all of these animations kind of slide in and slide out. Just notice that they slide in and slide out to different places depending on which button I click.
That's because they're all set up in one big movie and it's animating around, depending on which button I click. That's something you cannot do on the Timeline. When you use ActionScript tweens, you have access to dynamic animations and that's what we're going to create in this chapter. You also have access to a bunch of different easing methods that we'll look at as well. So let's learn how to do some ActionScript tweens.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 103150 Viewers
61 Video lessons · 89820 Viewers
71 Video lessons · 73440 Viewers
56 Video lessons · 104989 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.