Home > Articles > Graphics & Web Design > Dreamweaver & Flash

  • Print
  • + Share This
This chapter is from the book

Creating Gradients

Flash can create a number of paint effects in addition to solid colors. Gradients are made up of two or more colors that gradually fade into each other. They can be used to give depth to an object or create realistic shadows. Two gradient modes are available: linear and radial. Linear gradients are made up of parallel bands of color. Radial gradients radiate from a center focal point. Both can be edited for color, alpha, and position within a fill or stroke. You can add up to 16 colors to a gradient, precisely control the location of the gradient focal point, and apply other parameters. A gradient behaves like any other fill or stroke. It can be saved to the palette as a swatch using the Color Mixer panel Options button, and added to other shapes with the Paint Bucket tool.

Create a Multi-Color Gradient

  1. With the Selection tool, select the fill or stroke of a shape on the Stage.

  2. In the Color Mixer panel, click the Fill Style Type popup, and then click Linear or Radial.
  3. Click the Overflow popup, and then select the gradient overflow style you want to control colors past the limits of the gradient when publishing for Flash Player 8 or later.
  4. Position the pointer on the Color Picker box to display a plus (+) sign next to the pointer.
  5. Click in the Gradient bar to create a color proxy indicated by a little box with a triangle on top.

  6. Click one of the color proxy indicators to select it.
  7. Click a new color from the Color Picker box above.
  8. Drag the color proxy indicator along the Gradient bar to adjust the color placement.
  9. Repeat steps 4-8 to add up to 15 more gradient colors.
  • + Share This
  • 🔖 Save To Your Account