Place
the images you want to appear in each frame of the animation on
separate layers of the Layers palette. For example, to create an
animation of an eye blinking, you would place an image of the open
eye on one layer, and an image of the closed eye on another layer.
Choose File > Save for Web.
Note: If your image has multiple layers, you can also open
the Save For Web dialog box from the Save As dialog box by choosing
CompuServe GIF Format and selecting Layers As Frames.
Optimize the image in GIF format.
Select Animation.
Set additional options in the Animation section of the
dialog box:
Loop
Continuously repeats the animation in a web browser.
Frame Delay
Specifies the number of seconds that each frame is displayed
in a web browser. Use a decimal value to specify fractions of a
second. For example, use .5 to specify half a second.