Home > Articles

Creating Graphics

This chapter is from the book

This chapter is from the book

Drawing with the Line Tool

The Line tool draws perfectly straight lines in any direction you drag your mouse. In Flash, a line is called a stroke and there is a variety of thickness (0-200 pixels, new.gif), styles, colors, and gradient fills (new.gif) that can be applied to it. You can also create your own line style for specific types of dashed, dotted or artistic lines. You can constrain the path a line draws to 45-degree angles or create closed shapes by intersecting the lines you draw. In Merge Drawing, when a line overlaps another line on the same layer, it essentially ‘cuts’ it into two pieces that can be edited as separate objects. You can also specify a line cap and join type (new.gif). A join is the place where two strokes meet (Miter, Round, or Bevel). A cap is the end point of a stroke that does not join with another stroke. Select Stroke hinting to make stroke intersections easier to view (new.gif).

Use the Line Tool

  1. Click the Line tool in the Toolbar.

    The pointer becomes a crosshair that you can drag on the Stage.

    TIMESAVER Press N to select the Line tool.

  2. Click and drag on the Stage, and then release the mouse when the line is the length you need.

    TIMESAVER Hold down the Shift key, and then drag to draw a 45 degree line.

  3. To change line properties, click to select the stroke, and then specify the options (Color, Weight (0-200), Style, Width and Height, Cap, Join, or Stroke Hinting) you want in the Property Inspector.

    TROUBLE? To display the Property Inspector, click the Window menu, and the click Properties.

  • + Share This
  • 🔖 Save To Your Account