• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Chapter 3. Creating Graphics > Creating Gradients

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

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

In the Color Mixer panel, click the Fill Style Type popup, and then click Linear or Radial.

Click the Overflow popup, and then click Extend (default), Reflect, or Repeat to control colors past the limits of the gradient when publishing for Flash Player 8 ().

Position the pointer on the Gradient bar to display a plus (+) sign next to the pointer.

Click in the Gradient bar to create a color proxy indicated by a little box with a triangle on top.

TIMESAVER To remove a proxy color indicator, drag it down.

Click one of the color proxy indicators to select it.

Click a new color from the Color Picker below.

Drag the color proxy indicator along the Gradient bar to adjust the color placement.

Repeat steps 4-8 to add up to 15 more gradient colors.

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint