Using layer masks to create animations

First, you'll use a clipping path to create the illusion of juice filling slowly to the top of the "U" in the logo text.

1 Choose File > Open, and open the file Logo2.psd from the Lessons/Lesson16 folder.

2 In the Layers palette, hide the Photo layer, and leave the Text layer and the Juice layer visible.

1 Layers \ (_►.

| Normal ;J Opacity: |lOOX | > |

Lock:|QM+|S| Unify:|v°a|%|%|

r

JUS

Text

[7

1 O Jui«

r

p

Photo

I ne.mii d ieh a

The Juice layer contains a layer mask, as indicated by the grayscale thumbnail that appears to the right of the layer thumbnail in the palette. The layer mask is U-shaped, restricting the orange juice to appearing only in the middle of the "U" in the logo text.

The orange juice currently fills to the brim of the "U." You'll move the Juice layer to define another frame that shows the "U" empty of juice.

3 In the Animation palette, click the Duplicate Current Frame button (j) to create a second frame.

4 In the Layers palette, click the link icon (8) between the layer and layer mask thumbnails to turn it off.

1 layers \ f>

| Normal S J Opacity: |lOOK | ► |

Lock:|QM*|fl| U„ify:|v°a|iy«y

r

Text

r

r

Photo

<4i|iHI ©.IEJII -i I al I s

I layers \ (_>

| Normal i J Opacity: |lOOK | ► |

Lock:|U|^j + |B| Uhify:|v°a|*a|%|

|5

r

JUS

Text

m

U Juice

r

r

Photo

©-I.9JII -1 1 al 1 s

Turning off the link icon makes it possible to move the layer independently of its layer mask.

6 In the Layers palette, click the layer thumbnail (on the left) for the juice layer to select it.

7 In the image, position the move tool over the orange color, and drag down to reposition the layer below the curve of the "U" so that the orange color is completely hidden.

8 In the Animation palette, drag to reverse the order of frames 1 and 2.

Because you have defined the two frames by repositioning a single layer, you can generate intermediate frames automatically using the Tween command.

9 Choose Tween from the Animation palette menu, and select the following options in the Tween dialog box:

• For Tween With, select Next Frame.

• Under Layers, select All Layers.

• Under Parameters, select the Position check box, and then deselect the other two check boxes (Opacity and Effects).

Tween

Layers (S) All Layers O Selected Layer

Parameters 3 Position

10 In the Animation palette, select frame 1; in the Layers palette, select the Photo layer and show it.

M Animation

-

^

Hffc

Hfl^

/ 0 sec. *

cb°° 0 sec. -

0°° 0 sec. -

0 sec.T

cP° 0 sec. -

0°° 0 sec.T

/ 0 sec.

Forever ▼

1 MM

II J H 1

III

P<M

La

vers

\

V

( Normal

ij Opacity: |l00M | » |

I Text

r

| D | Jl,i,=a

\j

Photo

«HH ©.i a ii □ i a i a

11 Click the Play button (V) to play the animation. Click the Stop button (a) to stop the animation.

You can also choose File > Preview In, and choose a browser to play the animation, or select Preview In Default Browser in the toolbox. When you finish, return to ImageReady.

12 Choose File > Save Optimized As, name the file Logo2.gif, and click Save.

You are finished with your work on Logo2, so you can choose File > Close to close the original file without saving changes.

0 0

Post a comment