| Duplicate Selected Frames Button|
Step 4. Add A Frame. We need at least two frames to create our Tween animation so we will duplicate Frame 1 in the Animation palette. But first, we need to set the Frame Delay Time for Frame 1 to .2 seconds. Now you are ready to click the Duplicate Selected Frames button to make a duplicate frame that will be labeled frame 2.
Move Tool Icon
Step 5. Move The Shape. We have already set the beginning location for the light effect so now we need to set the end location. Because we want the light to pass across the entire line of text, we will set the end location to the far right of the text. Using the Move Tool, drag the shape to the far right of the text.
Step 6. Tween Time. Now the fun begins. We are ready to create the Tween animation. Click on the small arrow in the upper right corner of the Animation palette and choose Tween from the pop-up menu. The Tween dialog box will open. Set the following values.
Tween with - Previous Frame
Frames to Add - 10
Layers - All Layers
Parameters - all checked
You can now preview your animation by clicking the Play button at the bottom of the Animation palette. As you can see, the shape moves over the text BUT it is opaque. We will use a layer mask to make it look more like the light is showing through the text instead of on the top of the text.
Step 7. Create Clipping Mask. The AniShape layer should still be selected in the Layers palette. RIGHT click on this layer and choose Create Clipping Mask from the pop-up menu. You will notice that the shape disappears. But don't worry. You will see it in the animation. In fact, click the Play button again to view the preview. As you can see, when the invisible shape passes over the text, the text appears to be lighted from behind.
This is a good animation so far and you could stop here if you like. But I wanted it to be obvious that the shape in my animation was a star, So I decided to add another layer in the Layers palette and add a star at the beginning and end of the animation.
Step 8. Add New Layer. Click on Frame 1 in the Animation palette. Now go to the Layers palette and add a new layer that you will name PermShape (PermStar in the example) to indicate that this layer contains the visible shape. You still have the values set for the Custom Shape Tool so just click and drag to draw your shape at the beginning location of the animation (as you did in the previous step). Next, click on frame 12 and use the Move Tool to move the shape that you just drew to the right end of the line of text.
Now preview the animation again. We're getting closer but you will notice that the shape on the left is visible during the first eleven frames of the animation and then moves to the right for the last frame. We want it to look as if the shape is passing over the text. Therefore we only want this shape visible at the left during the first frame of the animation and at the right during the last frame. We need to turn off the visibility of the PermShape layer for frames 2 through 11.
Step 9. Turn Off Visibility. Click on frame 2 in the Animation palette. Now hold down the Shift key and click on frame 11. This will select all the frames from 2 - 11. Go to the PermShape layer in the Layers palette and click the Layer Visibility icon (looks like an eye) to turn off the visibility in these frames. Preview your animation again.
Step 10. Save Your Animation. First save your animation in Photoshop format just in case you want to make changes later. Then use Photoshop's Save For Web feature to optimize your gif animation for the web.
AdobeR product screen shot(s) reprinted with permission from Adobe Systems Incorporated. AdobeR, BridgeR, IllustratorR, PhotoshopR and PhotoshopR AlbumTM are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.