Start learning with our library of video tutorials taught by experts. Get started

Flash CS4 Professional Tools for Character Animation
Illustration by John Hersey

Working property keyframes


From:

Flash CS4 Professional Tools for Character Animation

with Todd Perkins

Video: Working property keyframes

I mentioned in an earlier movie that animations are created using property keyframes. In this movie, we will take a look at adding, removing, and modifying property keyframes. If you are following along, you can open up Property_Keyframes.fla in the Chapter 01 folder where you can just create a simple motion tween on the Stage; so one way to create property keyframes is on the Stage and the Timeline. To create a property keyframes, simply take your motion tween and put the play head on any kind of frame and then move your object on that frame and you will see that a property keyframe is created. In the Timeline, property keyframes just play as small black diamonds.
Expand all | Collapse all
  1. 2m 44s
    1. Welcome
      42s
    2. Using the example files
      46s
    3. Getting into this course
      1m 16s
  2. 39m 5s
    1. Reviewing motion tweens
      2m 32s
    2. Adjusting motion tweens in the Property Inspector
      3m 55s
    3. Working property keyframes
      5m 18s
    4. Controlling easing in the Motion Editor
      3m 28s
    5. Creating custom easing in the Motion Editor
      4m 36s
    6. Squashing and stretching with custom easing
      5m 33s
    7. Adding shadows
      2m 6s
    8. Encapsulating animations
      2m 39s
    9. Randomizing animations with graphic symbols
      2m 16s
    10. Stretching animations
      1m 31s
    11. Saving for previous versions of Flash
      1m 50s
    12. Converting animations to ActionScript code
      3m 21s
  3. 19m 43s
    1. Adding a perspective shadow
      3m 40s
    2. Nesting animations
      4m 26s
    3. Syncing audio
      4m 8s
    4. Adding 3D rotation
      5m 38s
    5. Using 3D layers
      1m 51s
  4. 17m 9s
    1. Animating a bone system
      3m 22s
    2. Adding easing to an armature animation
      1m 39s
    3. Creating complex armature animations
      2m 25s
    4. Creating bounce
      2m 53s
    5. Adding bones to shapes
      3m 19s
    6. Adding 3D animation to a spider
      2m 19s
    7. Creating interactive bones
      1m 12s
  5. 19m 2s
    1. Animating masks
      4m 3s
    2. Animating masked content
      5m 7s
    3. Creating shadows with masks
      4m 29s
    4. Creating an iris effect using masks
      5m 23s
  6. 7m 30s
    1. Saving motion presets
      1m 43s
    2. Exporting and importing motion presets
      3m 19s
    3. Applying and adjusting motion presets
      2m 28s
  7. 11m 40s
    1. Understanding walk cycles
      2m 45s
    2. Creating a walk cycle
      5m 16s
    3. Adding body movement
      3m 39s
  8. 19s
    1. Goodbye
      19s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Flash CS4 Professional Tools for Character Animation
1h 57m Intermediate Oct 28, 2008

Viewers: in countries Watching now:

The animation tools have been greatly enhanced in Flash CS4, and Todd Perkins teaches their advanced capabilities in Flash CS4 Professional Tools for Character Animation. He shows how to master the new Motion Tween model and the Motion Editor to control easing and effects such as Squash and Stretch. He demonstrates how to use the new 3D tools to add rotation, perspective shadows, and layered animations. Complex interactive animations and walk cycles are created without a line of code using bone systems. Todd also demonstrates the power of advanced masking, sound effect syncing, and much more. Exercise files accompany the course.

Topics include:
  • Encapsulating and nesting animations
  • Randomizing movement with graphic symbols
  • Converting animations to ActionScript or previous Flash versions
  • Creating an iris effect
  • Saving, adjusting, and applying motion presets
  • Adding body movement to walk cycles
Subjects:
3D + Animation Web Animation Character Animation
Software:
Flash Professional
Author:
Todd Perkins

Working property keyframes

I mentioned in an earlier movie that animations are created using property keyframes. In this movie, we will take a look at adding, removing, and modifying property keyframes. If you are following along, you can open up Property_Keyframes.fla in the Chapter 01 folder where you can just create a simple motion tween on the Stage; so one way to create property keyframes is on the Stage and the Timeline. To create a property keyframes, simply take your motion tween and put the play head on any kind of frame and then move your object on that frame and you will see that a property keyframe is created. In the Timeline, property keyframes just play as small black diamonds.

So I can move to any frame and move this monster around and I am creating the property keyframes. So notice that the Motion Path is adjusted to follow the property keyframes. So there is our animation but let's say I want it to remove one property keyframe. Using the Timeline, you can't really remove just one keyframe. Watch when I right-click or Ctrl-click in between in the Timeline. The option to remove keyframes is Clear Keyframe and then we have the option of what type of keyframe we want to remove, Position, Scale, Skew, etcetera or All.

Let's say I just want it to remove a Position keyframe. When I choose Position that removes all of the Position keyframes and I no longer have an animation. So what I am going to do is press Ctrl+ Z on the PC or Command+Z on the Mac to undo that change I just made. So now let's say we really need a little bit more control over this animation, we just want to remove one property keyframe. So to do that we are going to need to use the Motion Editor, so select your tween, move over to the Motion Editor and you can see the property keyframes in the Motion Editor. Let's say I wanted to remove the middle three property keyframes and just have it go from the first one to the last one still. One thing you can do is move to a frame where you want to remove the keyframe, so I am going to go to frame six here, you notice that there is a -- property keyframes are black squares and animations are connected using solid black lines. Let's say, I want to remove the keyframe here. I can simply put the playhead where I want to remove and then click the Add or Remove Keyframe button in the Motion Editor for the property you want to remove. So I will click that for the X position and notice that it removes the keyframes for the X and Y position.

Remember that Position property keyframes are connected so removing one or adding one will remove or add the other. In other words, removing an X keyframe will remove the Y keyframe there as well and adding an X keyframe will also add a Y keyframe. Let me show you another way to remove a property keyframe in the Motion Editor. That way is to use the keyboard shortcut Command on the Mac, Ctrl on the PC. Hold that button down, hover your mouse over the animation line, when I hover over the solid black area my cursor will be a pen with a plus sign, that tells me that if I click there I will add a property keyframe. Well, right now I don't really want to do that, I want to actually subtract the property keyframe.

So what I am going to do is hover over one of the property keyframes and you will see that there is a minus sign by the pen icon. So I will click on the property keyframe I want to remove and it's gone. So I will do that with the other one, still holding Command on my keyboard, I will click the property keyframe I want to remove and they are gone. So I scrub the playhead and there is my animation and I have all the control I need over the property keyframes. Another thing you can do in the Motion Editor is move property keyframes. So let's say I wanted the monster to move up and down like he was jumping, for example. So what I am going to do is click the Y area under Basic Motion in the Motion Editor to expand it, so notice it's a little bit bigger now. I am going to click and drag the Motion Editor up to get a little bit more space to animate here and then I am going to view the rest of the Stage in my visible area by choosing View > Magnification > Fit in Window. So now I can see the animation curve here, the Y position is at its lowest value on frame one, its highest value on frame 18.

So what I am going to do is select the last property keyframe in the Y position and notice that it turns green and this is probably going to be really hard to see on my screen, so you are going to have to try it yourself and see that the property keyframe is green. So now instead of being a black square, it's a green square. What I can do is click it and drag it, so I am going to click and drag it over to frame nine and I have moved the property keyframe to frame nine. So now the monster moves down in nine frames.

Now notice there is a dotted line between frame nine and frame 18. So what I am going to do is hold Command on my keyboard or Ctrl on the PC. I am going to hover over frame 18 in the Y position and I am going to click to create another keyframe and I will click and drag that frame down so that it's even with frame one. So I have 440 on frame 18 and then 440 on frame one. Now the monster jumps, so it goes down and hits the ground and jumps back up. So I will test the movie to see that in action, Command+Return on the Mac, Ctrl+Enter on the PC and there is the monster moving up and down.

So using the Motion Editor, you have a lot more control over property keyframes and you can easily add, remove, or adjust them as needed.

There are currently no FAQs about Flash CS4 Professional Tools for Character Animation.

Share a link to this course
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.
Upgrade now


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.

Upgrade now

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 Flash CS4 Professional Tools for Character Animation.

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
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



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.

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