Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
In Flash Professional CS5 Essential Training, author Todd Perkins explains the fundamentals of Flash Professional CS5, the industry standard for creating animations and interactive applications for the web, desktop, and mobile devices. This course starts with the basics, such as using the drawing tools to create simple animations, and progresses to automating animation with tweens and adding interactivity with ActionScript. This course also covers how to add sound and video to projects, enhance realism with effects like easing, and publish a project to a variety of platforms. Exercise files are included.
One of the types of animations that's really easy to create with a motion tween is Parallax Scrolling. Using Parallax Scrolling, you can move different layers of animation to create a 3D effect. Let's take a look at how to do that. On the Stage, I am going to lock every layer except for the hills_front layer. I am going to animate this layer first. To create the motion tween, I am going to right click one of the frames in the hills_front layer in the Timeline and choose Create Motion Tween. If you already have the timeline extended, Flash will create a motion tween spending the entire duration of your timeline.
So I am going to move the playhead to the last frame and then move the hills to the right. I am going to hold the Shift key, so that the hills don't move up or down as I am moving them. Now, I can preview this animation and see the hills moving. Now I will lock that layer and unlock hills_back. For the back hills, I am going to move them as well, but I am going to move them slightly less then the front hills. This is part of creating that 3D feel.
So I will create the motion tween, go to the last frame, and move the hills to the right. Once I release my mouse button, you can see the distance that the hills move by the motion path on the screen. The motion path is the same color as the outline for your layer. So this purple line shows me how much those back hills are moving. If I select the hills_front layer and pan to the left, I can see how much that layer is moving.
So the back layer is moving a little bit less than the front layer. I want to preview this in the Flash Player to make sure it looks right. So let's test the movie, Command+Return or Ctrl+Enter. And it looks like I can move the front hills a little bit more. So I will go to the last frame and select the front hills and move them a little bit more. We will test it again. Now there's little bit more obvious of a difference between the front hills and the back hills.
Now, I will move the buildings. So I lock the front hills and unlock the skyline layer. I will create the motion tween in the Timeline, go to the last frame, and move the skyline to the right. I don't want to move it that much, just a little bit. Then I will test the movie and preview my Parallax Scrolling effect. So Parallax Scrolling is just one of the neat effects you can create using motion tweens in Flash.
There are currently no FAQs about Flash Professional CS5 Essential Training.
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.