Create Animation Frame 2 The first frame of an animation is created for you automatically. Click the Duplicate Current Frame button at the bottom of the Web Content palette A to create Frame 2 of the animation. Both frames are now displayed under your ImageMap_01 hot spot in the Web Content palette B and also in the Animation palette C. Change Animation Frame 2 At this point, Frame 2 is still a copy of Frame 1. You'll change that in this step. With Frame 2 selected in the Web Content palette, go to the Layers palette and click in the Visibility field of the Stars2 layer to add an Eye icon there A. Then click in the Visibility field of the Stars1 layer to remove its Eye icon B. Set Timing and Looping Leave the Time Delay on both frames at its default of 0 seconds A so the frames animate quickly. Leave the looping option at its default of Forever B, so that the animation continues to play over and over while the viewer's mouse is over the image map hot spot. Preview the Animation Click the Play button at the bottom of the Animation palette to preview the animation. The stars on Frame 2 are shifted slightly around the ring from those on Frame 1. So as the animation moves quickly back and forth between Frames 1 and 2, it gives the illusion that the stars are moving around the ring. Cool! Set Up Your Optimizing Workspace Click on the Optimized tab in the document window A where you'll see a preview of the image with the optimization settings you choose in the next step. Open the Optimize palette (Window>Optimize), where you'll choose optimization settings that will affect the whole image. When you optimize a document as an image map the entire image takes the same optimization settings. And when you optimize an animation, all of its frames share the same optimization settings. Click the double-pointed arrow on the Optimize palette tab B to open the sub-headings so you can see all the settings in the Optimize palette. Choose Optimization Settings Choose the following settings in the Optimize palette: Format: GIF (You have to optimize this image in GIF format because you will be saving it as an optimized GIF, ImageReady's default animation format.) Colors: 128 (This image needs lots of colors because the orange button has a strong bevel and emboss effect that contains lots of graduated colors.) Dither Method: Diffusion Dither Amount: 88% (Adding a high percentage of dither helps smooth out potential banding in the beveled button.) Lossy: 17 (Adding lossy compression to a GIF helps reduce file size.) Add Metadata: Unchecked (Metadata adds to file size and is not necessary here.) Leave the other settings at their defaults as shown here. Preview in a Browser Click the Preview in Browser button. The animation doesn't start until you move your mouse over the orange button. That causes the animation to play, making the stars appear to dance around the button. Move your mouse off the orange button and the animation stops. Save Back in ImageReady, choose File>Save Optimized As. Leave Format set to HTML and Images so that ImageReady generates an HTML file with the Java-Script that makes your rollovers function and the image map coordinates. ImageReady also saves two GIF files including an animated GIF for the Over state and a static GIF for the normal state.
|