This chapter teaches you to use Adobe Flash CS3 Professional’s drawing tools to create basic shapes from lines and areas of color—in Flash terminology, strokes and fills. Flash offers natural drawing tools that imitate the feel of working on paper with a pencil or brush; geometric-shape tools that create predefined shapes; and a pen tool that lets you draw with precision, using Bézier curves.
These tools let you create three types of shapes. Tools set to Merge Drawing mode create raw shapes—shapes that interact with other raw shapes on the same layer (you’ll learn about shape interactions in Chapter 5). Tools set to Object Drawing mode create editable shapes that don’t interact with other shapes. Flash CS3 introduces a new type of shape, the primitive-shape. Two new tools, the rectangle- and oval-primitive tools, create non-interactive shapes with a set of defining parameters. You can edit a primitive’s parameters (changing the roundness of a rectangle’s corners, for example), but you can’t freely edit a primitive’s outline (turning an oval into a free-form blob, for example).
Once you create a shape, you can edit it (see Chapter 4). You can also import graphics from other programs (see Chapter 14).
The Tools panel holds all the tools you need to create and modify graphic elements (Figure 2.1). Flash CS3 gives you tools for creating graphic elements, for scrolling the Stage and zooming in and out, and for setting colors for the elements you create.
You click a tool to select it for use. If the selected tool has options, the appropriate buttons and/or menus for choosing options and settings appear at the bottom of the Tools panel.
• By default the Tools panel appears in single-column mode. Figure 2.1 shows the panel in space-saving two-column mode. Click the double-triangle icon in the panel window’s title bar to switch modes (Figure 2.2).
The relevant modifiers for the selected tool appear at the bottom of the panel.
• Flash’s default setting makes tool tips active (when the pointer hovers over a tool, an identifying label appears). You can change the tool tip setting in the Preferences dialog: Select the General category, select (or deselect) the Show Tooltips check box, and click OK to close the dialog. (For details on opening the Preferences dialog, see Chapter 1.)
• In addition to displaying tool names, tool tips show keyboard shortcuts. As you get more familiar with the tools, activating them from the keyboard will speed your operations.
• To close the open Tools panel (or open it when it’s closed), Choose Window > Tools.
• The single-column Tools panel is very narrow, making it a good candidate for double-docking. Drag another panel window to the edge of the Tools panel to double-dock the two (for more details on docking, see Chapter 1).
Although you can define fill and stroke colors from most color controls (see the sidebar “The Mystery of Color Controls”), the Color panel gives you the widest variety of options for defining fill and stroke colors. You can choose colors visually, by clicking a graphic representation of a color space—all the available colors in a given color-definition system; or you can choose colors numerically, by entering specific values for color components. You can also set a color’s transparency in the Color panel. To define new gradients, you must use the Color panel.
Before you define a color or gradient, you must choose whether the color or gradient applies to fills or strokes by activating the Fill Color control or the Stroke Color control. As you define new colors, Flash updates all the related color controls. If you define a new fill color, for example, that color becomes the current setting for all the tools that use fills.
To assign solid-color attributes in the Color panel:
• To define colors as mixtures of red, green, and blue, choose RGB.
• To define colors by percentage of hue, saturation, and brightness, choose HSB (Figure 2.4).
• To set a new stroke color, choose the Stroke Color control by clicking the pencil icon.
• To set a new fill color, choose the Fill Color control by clicking the paint-bucket icon.
To define a new color visually in the Color panel:
Flash places a crosshair cursor in the window where you clicked and selects the color within the crosshairs (Figure 2.5).
• If you have trouble clicking exactly the right color, click and drag around within the color-space window. A preview of the new color appears above the old color in the preview window. When the color you want appears, release the mouse button. Flash enters the values for that color in the appropriate fields.
To define a new color numerically in the Color panel:
• For RGB colors, enter values from 0 to 255 for red, green, and blue in the R, G, and B fields (Figure 2.6).
• For HSB, enter values for hue, saturation, and brightness in the H, S, and B fields.
To define a color’s transparency:
A value of 100 (100 percent) results in a completely solid color; a value of 0 results in a completely transparent color.
The tools and options for defining gradients appear (Figure 2.9). The default gradient starts with two pointers, black on the left and white on the right.
Overflow determines how gradient colors fill a shape when you resize the gradient to be narrower than the shape it fills (to learn about resizing gradients, see Chapter 4).
• Position the mouse pointer on or below the gradient-definition bar.
Flash adds a plus sign to the pointer, indicating that you can add a new gradient pointer in this area.
• Click anywhere along the gradient-definition bar.
Flash adds a new gradient pointer.
Double-click the gradient pointer to open a pop-up swatch set, and do one of the following:
• Click a swatch to copy the swatch color.
• Click an item on the desktop to copy its color.
• Enter a new value in the Hex field.
• Click the Color Picker button in the upper-right corner of the pop-up swatch set to access the System Color Picker for assigning new colors.
You can add up to 13 pointers (for a total of 15 colors) to a gradient.
As you modify the gradient, your changes appear in all the Color controls for strokes or fills, depending on whether you assigned the gradient to strokes or fills.
The tools for defining circular gradients appear. The gradient-definition bar looks the same as it does for linear gradients, but the preview shows your gradient as a set of concentric circles (Figure 2.11). The leftmost pointer defines the inner ring; the rightmost pointer defines the outer ring.
• To modify an existing gradient, choose it in the Swatches panel. Flash switches the Color panel to gradient mode and displays the selected gradient. Now you can make any changes you need.
• Gradients can have transparency. You simply use a transparent color in one or more gradient pointers (see “To define a color’s transparency,” earlier in this chapter). If a gradient has transparency, a grid shows up in the gradient pointer, in the Fill Color or Stroke Color control, and in the transparent part of the gradient in the preview window (Figure 2.12).
• Each pointer in a gradient can have a different alpha setting. To create fade effects, try creating a gradient that blends from a fully opaque color to a transparent one.
You can save a new color or gradient for the duration of your work session by adding the color currently displayed in the Color panel to the Swatches panel. The Fill Color and Stroke Color controls found in the Tools panel, in the Properties tab of the Property inspector, and in the Color panel also give you quick access to the current set of swatches..
To add a color or gradient to the Swatches panel:
• From the options menu, choose Add Swatch (Figure 2.13).
• Position the pointer over the blank area of the Swatches panel; when the paint-bucket pointer appears, click.
Flash adds the new solid color or gradient to the appropriate section of the Swatches panel (Figure 2.14).
• You can add new colors to the Swatches panel even if it’s closed. But if you want to get feedback when you add a swatch, open the Swatches panel. Resize the panel window so that a bit of space appears below the existing swatches.
• To remove a swatch from the Swatches panel, select a swatch, and from the panel’s options menu, choose Delete Swatch.
• If the swatches in the Swatches panel are too small for you, resize the panel. The swatches grow bigger as the window widens.
Flash stores a default set of colors and gradients in the system color file, but it stores the colors and gradients used in each document with that document. Flash lets you define what colors and gradients make up the default set. In addition, you can create and save other color sets and load them into the Swatches panel. This practice makes it easy to maintain a consistent color palette when you’re creating several documents for use in a single movie or on a single Web site.
To define a new set of colors:
You don’t need to define them all at once, but after you have a set you want to save, go to step 2.
The Export Color Swatch dialog appears (Figure 2.16).
• To save colors and gradients in Flash’s proprietary Flash Color Set (CLR) format, choose Flash Color Set.
• To save the colors in Color Table (ACT) format, choose Color Table.
The ACT format saves only colors (not gradients) but lets you share color sets with other programs, such as Adobe Fireworks.
• The options menu in the Swatches panel also offers some handy shortcuts for dealing with color sets. To reload the default color set, choose Load Default Colors. To remove all color swatches from the current panel window, choose Clear Colors. To load the standard Web-safe colors, choose Web 216. To arrange colors by hue, choose Sort by Color. (Note that you can’t undo the color sorting. Be sure to save your current set of colors if there’s any chance that you’ll want to restore the unsorted order.)
• To add to the color set currently displayed in the Swatches panel, choose Add Colors.
• To replace the entire set currently displayed in the Swatches panel, choose Replace Colors.
The Import Color Swatch dialog appears (Figure 2.17).
• All Formats, which displays CLR, ACT, and GIF files
• Flash Color Set, which displays only CLR files
• Color Table, which displays only ACT files
• GIF, which displays only GIF files
• All Files, which displays files of any format
Note that the Color Table and GIF formats are for color import only; these formats don’t handle gradients. Flash Color Set handles both colors and gradients.
Flash offers five fill types: none, solid, linear gradient, radial gradient, and bitmap. You can create new fill colors and gradients in the Color panel (see “Creating Solid Colors and Gradients,” earlier in this chapter). To assign colors or gradients to selected tools or graphic elements, you can use the Color panel; the Tools panel; or any fill-related Property inspectors, such as the one that accompanies the rectangle tool.
To assign fill colors from the Tools panel:
The Fill Color control highlights, the pointer changes to an eyedropper, and a set of swatches pops up (Figure 2.18).
• To assign a gradient, select one of the linear or radial gradient swatches.
• To select a solid color, click a solid swatch or an item on the Stage; the color directly below the tip of the eyedropper becomes the assigned fill color.
• To define a new fill color, enter hex values in the field above the swatches.
• To define transparency for the current fill color, enter a percentage less than 100 in the Alpha field and press Enter. Note, gradient fills do not have the transparency option in this control as transparency is a part of the gradient definition.
The new color appears in all Fill Color controls (in the Tools panel, the Properties tab of the Property inspector, and the Color panel) and will be used by any of the tools that create fills.
To assign fill colors from the Properties tab of the Property inspector:
The rectangle, oval, rectangle-primitive, oval-primitive, polystar, brush, and paint-bucket tools all create fills. When one of these tools is selected, the Properties tab of the Property inspector displays a Fill Color control (Figure 2.19).
The current set of swatches appears (Figure 2.20).
• To access a System Color Picker for assigning fill colors, click the color chip in one of the Fill Color controls and then click the Color Picker button from the pop-up swatch window (Figure 2.21).
A line has three main attributes: color, thickness (also known as weight or, in Flash, stroke height), and style. You set all three in the Properties tab of the Property inspector for any tool that creates strokes. The Properties tab of the Property inspector also lets you control the way the ends of lines (caps) look and the way lines connect (joins).
The Properties tab of the Property inspector for the selected tool appears, displaying the current settings for strokes.
• In the Properties tab of the Property inspector (or in the Tools panel), click the Stroke Color control.
The pointer changes to an eyedropper, and a set of swatches appears (Figure 2.22).
• Click the swatch with the desired color.
There are seven styles to choose from: hairline, solid, dashed, dotted, ragged, stippled, and hatched.
A graphic representation of your selected style appears in the stroke-style menu.
• None ends the stroke exactly where you stop drawing it.
• Round extends the stroke by half the current stroke height, creating a rounded end.
• Square extends the stroke by half the current stroke height, creating a square end (Figure 2.25).
• Miter creates a sharp corner.
• Round creates a slightly curved corner.
• Bevel creates a slightly flattened corner (Figure 2.26).
• The Tools panel displays three buttons for setting basic stroke (and fill) colors quickly. Clicking the overlapping black and white squares sets the Stroke Color control to black (and the Fill Color control to white). Clicking the small squares with an arrow next to them makes the current stroke and fill colors change places. Clicking the square with the red line through it sets the currently selected color control (fill or stroke) to No Color.
• In Flash, the hairline setting is considered a stroke style, not a stroke height. (Use the stroke-style pop-up menu to get the hairline setting.) Hairlines in a symbol don’t change thickness when you resize the symbol. Other lines in a symbol grow thicker or thinner as you scale the symbol up or down. (To learn about symbols, see Chapter 7.)
• To constrain the way strokes scale in your published movie, with a stroke (or stroke-creating tool) selected, choose a setting from the Scale menu in the Properties tab of the Property inspector. In the default (Normal) mode, a 1-pixel stroke becomes a 2-pixel stroke if your final movie gets enlarged to 200 percent. To prevent a selected stroke from scaling at all, choose None. To allow the stroke to scale in one direction only, choose Horizontal or Vertical.
• Click the Stroke Hinting check box in the Properties tab of the Property inspector to ensure crisp lines in your final output. Without hinting, lines sometimes appear slightly blurry on some monitors.
• You can modify Flash’s stroke styles. You might, for example, want larger dots in the dotted line or bigger spaces in the dashed line. Select a stroke-creating tool; in the Properties tab of the Property inspector, select the stroke style you want to modify, and then click the Custom button. The Stroke Style dialog appears, in which you can assign new settings. Click OK to close the dialog and confirm the settings. Those settings continue in force for that style until you change them or end the work session.
• You can also set stroke color from any Stroke Color control (in the Properties inspector, the Tools panel, or the Color panel). Click the Stroke Color control, and select a color as described in “Setting Fill Attributes,” earlier in this chapter.
• You can set the Join property for rectangles created with the rectangle-primitive tool, but you’ll only see the joins on sharp corners (those with a corner radius setting of 0).
Flash provides separate tools for drawing ovals, rectangles, and polygons or stars. The tools work similarly; all can draw a shape as an outline (just a stroke) or as a solid object (a fill). You can also create a geometric shape with a fill and a stroke simultaneously. There are special properties that define rectangles and ovals that you can set as precise values in the Property inspector.
• In the Tools panel, click the active geometric-shape tool.
• From the submenu that appears, choose a tool—for example, the oval tool (Figure 2.29).
When creating an outline shape, you may want to select new properties for the stroke’s color, height, and style (see “Setting Stroke Attributes,” earlier in this chapter). There are also specific oval and rectangle properties that appear in the Property inspector when you select the rectangle, rectangle-primitive, oval, and oval-primitive tools.
• Click the paint-bucket icon of the Fill Color control; Flash highlights Fill Color as the active control.
• Click the No Color button (Figure 2.30).
The pointer turns into a crosshair.
Flash previews the shape as you drag.
Flash draws an outline.
• To draw a perfect circle (or square), hold down the Shift key while you draw with the rectangle, oval, rectangle-primitive, or oval-primitive tool.
• To make ovals (or rectangles) grow outward from the center point as you draw, position the pointer where you want the center of the shape to be; hold down the Option key (Mac) or Alt key (Windows) as you drag. Shapes drawn with the polystar tool always grow from the center.
For this task, for example, select the rectangle tool.
• Click the pencil icon of the Stroke Color control; Flash highlights Stroke Color as the active control.
• Click the No Color button (Figure 2.32).
Flash draws a geometric fill, using the currently selected fill color (Figure 2.33).
• You can create polygons and star shapes with the polystar tool (choose it from the geometric-shape tool’s submenu in the Tools panel). To set the number of sides in the polygon and to switch from polygons to stars, select the polystar tool and click the Options button in the Polystar Tool Properties tab of the Property inspector. The Tool Settings dialog appears. Enter values for the number of sides and how sharp the star points are, then click OK.
The Property inspector displays the tab for the selected tool (Figure 2.34).
Clicking the lock icon toggles between the unconstrained (open-lock icon) and constrained (closed-lock icon) states.
or
To create a rectangle with indented corners, in the Rectangle Corner Radius field enter a negative number.
The Property inspector displays the tab for the selected tool (Figure 2.36). The properties are the same for both tools.
• To create pie-wedge shapes, in the Start Angle and/or End Angle field, enter a number from 0 to 360 (Figure 2.37).
• To create open arcs, deselect the Close Path check box. When you create pie-wedge shapes, this setting creates an open path. Flash removes the shape’s fill (if one is present) and deletes the straight line segments from the wedge shape (Figure 2.38).
• To create ovals with hollow centers, in the Inner Radius field, enter a number from 0 to 99.
Flash draws a hollow oval inside the first (Figure 2.39). The inner-radius setting corresponds to the percentage of the outer oval’s “fill” that gets removed by the inside oval. (The outer oval may have a fill of No Color, in which case the inner oval just appears as an outline.)
• You can change an oval-primitive’s start- or end-angle settings interactively. Select the shape on the Stage. In the Property inspector, click the triangle to the right of the Start Angle or End Angle field, and a circular slider appears. Click anywhere on the slider or drag the control point to change the setting; the shape on the Stage changes interactively. Press enter or click away from the slider to confirm the new value.
Flash offers three tools for creating free-form shapes: the pencil, pen, and brush. The pencil and pen tools create stroke outlines, and the brush tool creates fills without strokes. The pencil and pen tools create only outlines, even if you draw a closed shape. Once you’ve created a shape, you can always modify it—say, to fill an empty outline or add an outline to a plain fill shape.
The pencil tool lets you draw lines (strokes) naturally, as you would with a real-world pencil, but using the mouse or a graphics tablet and pen. Flash hides information about the anchor points and curves of a stroke drawn with the pencil. With the pen tool, you place anchor points and adjust Bézier curves to create strokes. You can use the pen tool not only to create Bézier curves initially, but also to modify them once they are on the Stage. In addition there are three anchor-point tools for modifying Bézier curves on the Stage—the add-anchor-point tool, the delete-anchor-point tool, and the convert-anchor-point tool. In this chapter, you’ll use the pen tool to create free-form shapes; in Chapter 4, you’ll learn to use the pen tool and the anchor-point tools to modify shapes.
For the tasks below, make sure the grid is visible (see Chapter 1) and set drawing preferences as follows: choose Flash > Preferences (Mac) or Edit > Preferences (Windows) to open the Preferences dialog; choose Drawing from the Category list, and select the Show Pen Preview and Show Solid Points check boxes; leave the other items at their default settings.
To draw free-form strokes with the pencil tool:
Straighten resolves minor variations into straight-line segments.
Smooth resolves minor variations into smooth curves.
Ink provides very little assistance, leaving minor variations.
The pointer changes to a pencil icon.
Flash previews your rough line.
Flash recasts the line you’ve drawn according to the assistance mode you chose in step 2, creating a set of straight-line segments and regular curves (Figure 2.42).
• You can apply smoothing and straightening (even shape recognition) after you’ve drawn an outline or shape by selecting it on the Stage and then clicking the Straighten or Smooth modifier of the Selection tool (you’ll learn more about making and modifying selections in Chapter 4).
To draw free-form strokes with the pen tool:
The pen tool appears with a small x next to it (Figure 2.44). The x indicates that you’re ready to place the first point of a path.
The pointer changes to a solid arrowhead; a small hollow circle indicates the location of the anchor point on the Stage.
Flash extends a preview of the line segment from the first point to the tip of the pen as you move around the Stage.
Flash completes the line segment using the selected stroke attributes. The anchor points appear as solid squares (Figure 2.45).
Flash places a preview point on the Stage, the pointer changes to a solid arrowhead, and Bézier handles (sometimes referred to as tangent handles) appear (Figure 2.47).
The Bézier handles extend from the anchor point, growing in opposite directions as you drag. Flash previews the curve you’re drawing (Figure 2.48).
Dragging the handle clockwise or counterclockwise around its anchor point controls the direction of the bulge; dragging the handle farther from the anchor point deepens the curve (Figure 2.49).
Flash completes your curve segment with a stroke (Figure 2.50).
or
To create a closed shape, do the following:
• Position the pointer over your first anchor point.
• Flash previews the closing segment of your shape. A small hollow circle appears next to the pen tool (Figure 2.51).
• Click the first anchor point.
• Flash closes the shape, adding a stroke to the path.
Once the path is complete, the pen tool pointer displays a small x, indicating that the tool is ready to place the first anchor point of a new path.
• There are other ways to end open paths. Choose Edit > Deselect All, or press -Shift-A (Mac) or Ctrl-Shift-A (Windows). In the Tools panel, click a different tool. You can also double-click the last point you placed. To use this technique you must be drawing a path that ends with a straight-line segment that doesn’t involve Bézier handles.
• In previous versions, Flash would automatically fill a shape drawn with the pen tool, using the current fill color. In Flash CS3, you must use the paint-bucket tool to add a fill to a closed shape drawn with the pen.
• The pen tool can add to a line created earlier (Figure 2.52). To extend outward from the original line, position the pointer over the end of the line (the terminal anchor point). A modifier—a small slash—appears next to the pen icon. Click the terminal anchor point and the pen links to that point as if you’d just placed it; continue adding segments as you learned to do in the previous exercises. You can also join to an existing line during the process of creating a new line. Click to place the anchor points of the new line, but don’t double-click to end the line. Instead, position the pointer over one of the terminal anchor points of the line you want to join. A modifier appears next to the pen icon; if you link to a merge-shape segment, the modifier is a small hollow circle; if you link to a drawing-object, the modifier is a chain-link icon. Click the existing terminal anchor point, and Flash joins the two lines.
To create free-form solid fills with the brush tool:
• From the Brush Size pop-up menu, choose a size for the brush tip.
• From the Brush Shape pop-up menu, choose a shape for the brush tip.
• From the Brush Mode pop-up menu, choose a painting mode; for this exercise, choose Paint Normal (Figure 2.54). The painting modes let you control how brushstroke fills act when you use the brush tool to paint over other shapes.
Overlapping shapes interact in different ways depending on whether they are merge-shapes, drawing-objects, or primitives. (You’ll learn about how overlapping shapes interact in Chapter 5.)
• To paint brushstroke fills that vary in thickness, choose Use Pressure. This option appears only when a graphics tablet is connected to your computer.
The pointer changes to reflect the current brush size and shape.
Flash previews your brushwork in the currently selected fill (Figure 2.55).
Flash creates the final shape, smoothing it according to settings in the Property inspector (see the sidebar “The Mystery of Brush Smoothness Settings,” later in this chapter).
• You can change the size of your brushstroke by changing the magnification at which you view the Stage. To create a fat stroke without changing your brush-tip settings, set the Stage view to a small percentage. To switch to a thin stroke, zoom out to a higher percentage (Figure 2.56). Be sure to check your work in 100% view.
• To paint shapes that contain the full gradient-spectrum, deselect Lock Fill (Figure 2.58).
• To paint shapes that reveal just a portion of the gradient (as if the shape were a window onto a gradient that filled the whole Stage area), select Lock Fill.
Flash can’t preview the shape you paint with a gradient fill. The preview shape has a black-and-white pattern.
Flash redraws the painted shape, using the current lock-fill and fill-color settings (see the sidebar “The Mystery of Gradients and Flash’s Drawing Models,” later in this chapter).
For unlocked fills, the full gradient is visible in the shape (Figure 2.59).
For locked fills, just a portion of the gradient is visible in the shape (Figure 2.60).
• Try painting a variety of brushstrokes in both drawing modes; use locked and unlocked gradients; use different areas of the Stage; and make the shapes different lengths. Notice the way each shape displays the gradient.
• If the first gradient you paint in a work session has a locked fill, Flash puts the center of the underlying locked gradient along the left edge of the Stage. That means half the gradient lies on the Pasteboard, not on the Stage. To choose a different location for the center of a locked gradient, first use the brush tool to paint an unlocked gradient that’s centered the way you want. When you switch to painting with Lock Fill active, the underlying locked gradient aligns with the last unlocked gradient you painted. You can then delete the unneeded unlocked gradient, use the paint-bucket tool to change it to a locked gradient (see Chapter 4).
• After you’ve created a shape with a gradient fill, you can adjust the location of the center of the gradient by using the gradient-transform tool (see Chapter 4).
As you’ve learned earlier in this chapter, you can use the line, pencil, pen, and geometric-shape tools to create outline shapes—strokes without fills. To create fill shapes that have no stroke outline, you use the brush, pen, and geometric-shape tools. At any point you can add the missing element to such shapes. The ink-bottle tool adds strokes that outline plain fill shapes; the paint-bucket tool adds fills inside plain outline shapes. (You can also use these tools to modify strokes and fills; see Chapter 4.)
For a merge-shape, make sure the fill is deselected; for a drawing-object, the fill can be selected or deselected.
The pointer appears as a little ink bottle, spilling ink.
• To add a stroke around the outside of your shape, click near the outside edge of the shape (Figure 2.62).
• To add a stroke around the inside of a shape that has a hole cut out of it, click near the inside edge of the shape.
• To outline both the outside of a shape and the hole inside the shape, click in the middle of the shape (Figure 2.63).
Flash adds strokes to the outside edge, inside edge, or both, using the Properties tab of the Property inspector’s current settings for color, thickness, and style.
• Flash lets you use gradients for strokes. In step 3 of the preceding task, in the Properties tab of the Property inspector, choose a linear or radial gradient from the Stroke Color control’s pop-up swatch set. Why might you want a gradient stroke? For an oval shape, adding a thick stroke with a radial gradient can help create the illusion of 3D depth or make the shape appear to glow.
• Another way to “add” missing strokes to drawing-objects and primitive-shapes is to modify them using the Property inspector. First select the drawing-object or primitive on the Stage. Then change the stroke properties, including color, in the Property inspector. You can use this technique to add strokes to multiple drawing-objects and/or primitives (the technique doesn’t work for merge-shapes, however). You’ll learn more about modifying graphic objects in Chapter 4.
To fill an outline shape with solid color:
The outline can be selected or deselected.
If you draw your shapes precisely, medium or small gap closure serves you best; you don’t want Flash to fill areas that aren’t meant to be shapes. If your drawings are rougher, choose Close Large Gaps. This setting enables Flash to recognize less-complete shapes.
The shape fills with the currently selected fill color (Figure 2.67).
• You may be unaware that your shape has any gaps. If nothing happens when you click inside a shape with the paint bucket, try changing the Gap Size setting in step 3.
• Gap-closure settings are relative to the amount of magnification you’re using to view the Stage. If the paint bucket’s largest gap-closure setting fails at your current magnification, try again after reducing magnification (Figure 2.68).
• Another way to “add” missing fills to drawing-objects and primitives is to modify them using any Fill Color control. First select the outline drawing-object or primitive on the Stage. Then choose a color from the Fill Color control in the Tools, Color, or Property inspector panel. You can use this technique to add fills to multiple drawing-objects and/or primitives (the technique doesn’t work for outline merge-shapes, however). You’ll learn more about modifying graphic objects in Chapter 4.
To fill outline shapes with unlocked gradients:
or
From any Fill Color control, select an existing linear or radial gradient (see “Setting Fill Attributes,” earlier in this chapter).
Each outline shape you click fills with the gradient currently displayed in the Fill Color control. If you chose a linear gradient in step 2, Flash centers the unlocked gradient within the outline shape (Figure 2.70). If you chose a radial gradient, the location you click with the paint bucket’s hot spot determines where the center of the unlocked gradient appears (Figure 2.71).
To fill outline shapes with locked gradients:
Each outline shape you click fills with a portion of the gradient currently set in the Fill Color control (see the sidebar “The Mystery of Gradients and Flash’s Drawing Models,” earlier in this chapter).
3.142.98.108