Animation

  1. Home
  2. Computing & Technology
  3. Animation

Flash Tip: Shape Tweening Expanded: Controlling Hue

By Adrien-Luc Sanders, About.com

We've talked about changing hues/colors using shape tweens for a gradient fading effect, as part of Lesson 4. However, I thought it might be a good idea to separate this out as a tip of its own, to make it a bit easier to find it for reference purposes.

To make a shape fade from one color to the next, follow these simple steps:

  • Once your shape is created on your first keyframe, copy it over to another frame at the end of the duration of your color fade effect. Remember: do not make this into a symbol. Your tween will not work if you do.
  • On your second keyframe, select the fill, and then change the color in the color mixer to the desired shade.
  • Select the range of frames from your first to your last keyframes.
  • On the Tween dropdown menu in the Properties panel at the bottom of the screen, select "Shape".
You should now have a simple color-fading gradient effect.
More Animation Quick Tips

Explore Animation

About.com Special Features

Animation

  1. Home
  2. Computing & Technology
  3. Animation
  4. Flash Animation Tutorials
  5. Flash Tip: Shape Tweening Expanded: Controlling Hue

©2009 About.com, a part of The New York Times Company.

All rights reserved.