-
Step 1
Create a new Flash document with at least three layers. You will need separate layers for the sky, sun and horizon. You can add additional layers and characters, but they aren't necessary to the sunset itself.
-
Step 2
Add a rectangle with a pale-blue-to-white gradient (linear or radial will be fine). If you use the rectangle vector tool, break it apart (Command+B). Convert the sky to a graphic symbol (F8). Add a horizon object to the top layer; a mountain silhouette will do just fine.
-
Step 3
Draw a circle on the middle layer colored with a four-color radial gradient (break it apart if you used the ellipse vector tool). Set the center stop to bright yellow with 100 percent alpha, the second stop to a dull yellow, the third and fourth stops to white with an alpha of 50 and 0 respectively. Drag the left three stops toward the center and the final (white) stop to the far right of the gradient line. Convert the sun to a graphic symbol.
-
Step 4
Add a motion guide to the sun layer to run from the top to the bottom of the stage (a curved guide will make the motion more realistic). Select the sun, and place the symbol's crosshair directly on top of the motion guide. Select frame 15 in all three layers and add a new keyframe (F6). Select the timeline before the in the sun and sky layers, and this time choose the "Create Motion Tween" command from the Insert submenu of the Timeline menu to connect the key frames with arrows.
-
Step 5
Double-click on the sun to edit it in a new window. Click inside frame 15 on the symbol timeline (or any frame further down) and add a keyframe (F6). Select the timeline, and this time choose "Create Shape Tween." Click on the sun in the final frame and change the left three color stops to sunset colors (orange to purple or pink to white). Adjust the sliders to redistribute the color diffusion.
-
Step 6
Return to the main scene and double-click on the sky symbol to edit it. Create a new keyframe in frame 15, and add a Shape Tween to the layer timeline. Change the gradient in the final frame to a deep sunset sky (purple to magenta). You can add color stops to increase the color range.
-
Step 7
Go back the main timeline. Select the sun object in the final keyframe, and drag the sun from its starting point to underneath the horizon (make sure the crosshair remains directly over the motion path). Select the sky object in the final keyframe and set its tint to 70 percent using the Properties palette color menu. When you play back the animation, the sun will follow the motion path, and the sky will darken.














