Custom Easing

[ LiB ] 

graphics/064fig01.jpg

graphics/064fig02.gif

Setting the Ease value of a tween in the Property inspector is very effective for making some more interesting animations. There is another way to simulate easing without ever changing the Ease value. Create at least a 20-frame Motion Tween of a symbol moving across your Stage. Now add a keyframe in the middle of the tween and move it close to the beginning of the animation. If you test your movie, you'll see that it has a similar effect to setting an Ease value for the tween. The difference is that you have more control over this style of easing. You can move that middle keyframe closer to the beginning or end of the tween to get different effects. You can also add more keyframes and move them around to see what happens. Just make sure that you add keyframes after the tween is in place for the trick to work properly.

[ LiB ] 


Macromedia Flash MX 2004 Killer Tips
Macromedia Flash MX 2004 Killer Tips
ISBN: 0735713839
EAN: 2147483647
Year: 2003
Pages: 300
Authors: Shane Elliott

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net