114 Working with Color, Strokes, and Fills
Repeat repeats the gradient from the beginning of the gradient to the end until the
selected shape is filled.
Linear RGB creates an SVG-compliant (Scalable Vector Graphics) linear or radial gradient.
About creating gradients
A gradient is a multicolor fill in which one color gradually changes into another color. Flash
lets you apply up to 15 color transitions to a gradient, letting you create some striking effects.
Flash can create two types of gradients:
Linear gradients change color along a single axis (horizontal or vertical).
Radial gradients change color in an outward direction starting from a central focal point.
You can adjust the direction of a gradient, its colors, the location of the focal point, and many
other properties of the gradient.
Flash Basic 8 and Flash Professional 8 provide additional control over linear and radial
gradients for use with Flash Player 8. These controls, called overflow modes, let you specify
how colors are applied beyond the gradient.
For more information, see “Transforming gradient and bitmap fills” on page 121.
Using the Stroke Color and Fill Color
controls in the Tools panel
The Stroke Color and Fill Color controls in the Tools panel let you select a solid stroke color
or a solid or gradient fill color, switch the stroke and fill colors, or select the default stroke and
fill colors (black stroke and white fill). Oval and rectangle objects (shapes) can have both
stroke and fill colors. Text objects and brush strokes can have only fill colors. Lines drawn
with the Line, Pen, and Pencil tools can have only stroke colors.
The Tools panel Stroke Color and Fill Color controls set the painting attributes of new objects
you create with the drawing and painting tools. To use these controls to change the painting
attributes of existing objects, you must first select the objects on the Stage.
NOTE
Overflow modes are supported only in Flash Player 8.
NOTE
Gradient swatches appear only in the Fill Color control.