Using the Pencil Tool with Assistance

I l @ ve RuBoard

Flash's pencil tool offers two freeform line-drawing modesStraighten and Smooth that help you draw smooth, neat shapes .

Straighten mode eliminates the small blips and tremors that can mar quick hand sketches . Straighten refines your line into straight-line segments and regular arcs. This mode also carries out what Flash calls shape recognition. In Straighten mode, Flash evaluates each rough shape you draw, and if the shape comes close enough to Flash's definition of an oval or rectangle, Flash turns your rough approximation into a version of the shape neat enough to please your high-school geometry teacher.

Smooth mode helps you by transforming your rough drawing into one composed of smooth, curved line segments.

To use Straighten mode for freeform drawing:

  1. In the Toolbox, select the pencil tool.

    The pencil-tool's modifiers appear at the bottom of the Toolbox (Figure 2.22).

    Figure 2.22. When the pencil tool is selected, the Toolbox displays a pop-up menu of pencil modes.

    graphics/02fig22.gif

  2. From the Pencil Mode pop-up menu, choose Straighten.

  3. Move the pointer over the Stage.

    The pointer turns into the pencil tool.

  4. Click and draw a squiggle (Figure 2.23).

    Figure 2.23. With the pencil in Straighten mode, when you draw a squiggle, Flash previews it for you. When you release the mouse button, Flash applies straightening, turning your rough squiggle (top) into a set of straight-line segments and smooth curves (bottom).

    graphics/02fig23.gif

    Flash previews your rough line.

  5. Release the mouse button.

    Flash recasts the line you've drawn, turning it into a set of straight-line segments and regular curves.

To use Straighten mode for drawing rectangles and ovals:

  1. With the pencil tool in Straighten mode, click and quickly draw a rectangle or circle (Figure 2.24).

    Figure 2.24. In the pencil tool's Straighten mode, when you draw a rough rectangle (top) and release the mouse button, Flash turns your shape into a rectangle with straight sides and sharp corners. You can also rough out oval shapes and have Flash fix them the same way.

    graphics/02fig24.gif

    You don't need to close the shape completely; leave a slight gap between the first and last points of your line.

  2. Release the mouse button.

    Flash recognizes the shape and creates a perfect rectangle or oval, connecting the ends of your line and completing the shape for you.

graphics/01icon02.gif Tip

  • Tolerance settings are all-important here. You can set Flash to change almost anything ovoid into a circle and anything slightly more oblong into a rectangle. Take a little time to play around with the settings in the Editing tab of the Preferences dialog box (see "Controlling the Amount of Assistance You Get" later in this chapter) to find the degree of accuracy that's right for you.


Smooth mode does not recognize shapes or connect line segments; it simply smoothes out the curves you draw.

To draw smooth curves:

  1. With the pencil tool selected, choose Smooth from the Pencil Mode pop-up menu.

  2. Move the pointer over the Stage; then click and draw a wavy line.

  3. Release the mouse button.

    Flash eliminates any vectors that aren't needed to define the basic shape (Figure 2.25).

    Figure 2.25. With the pencil in Smooth mode, when you draw a wavy line (top), Flash turns it into a series of smooth curves (middle). Compare a similar shape drawn with the pencil set to Straighten mode (bottom).

    graphics/02fig25.gif

    Notice that Flash turns your line into a set of smooth curved segments instead of straight-line segments.

I l @ ve RuBoard


Macromedia Flash MX for Windows and Macintosh. Visual QuickStart Guide
Macromedia Flash MX 2004 for Windows and Macintosh (Visual QuickStart Guides)
ISBN: 0582851165
EAN: 2147483647
Year: 2002
Pages: 243

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net