Web Design with HTML and CSS

(National Geographic (Little) Kids) #1
Using the color table

Lesson 5, Graphics, Color, and Transparency 103

Changing additional properties in an animation
You will now change the opacity value of the Pick-A-Flavor layer. A layer which has a
value of 100% opacity is completely visible. A layer which has a value of 0% opacity is not
visible. You will now set diff erent opacity values for the fi rst two frames in order to create an
“off /on” visual eff ect.

1 Select the fi rst frame in the Animation panel, and then select the Pick-A-Flavor layer in
the Layers panel. Click and drag the Opacity slider from 100 percent to 0 percent.

Change the opacity of the frames.

2 Click the second frame, and with the same Pick-A-Flavor layer selected, drag the
Opacity slider to the right until it reaches 100 percent.

3 Test the animation by clicking the Play button ( ) at the bottom of the Animation
panel. A fl ashy animation plays three times. In the following steps, you will use the Tween
feature to create a better transition between the frames.


Tweening
In the following steps, you will build a better transition between the frames. Tweening
automatically creates new frames between two existing frames. The process saves you the
time and the eff ort from having to make each frame manually.

1 Select any frame, and then click the tweens animation frames icon ( ) at the bottom of
the Animation panel. The Tween window appears.

2 In the Tween window, type 3 into the Frames to add text box. Leave the others settings
as they are, and click OK. Three frames are added in between the existing frames.


Create a smooth transition by using the
Tween feature.
Free download pdf