Home > Articles > Graphics & Web Design > Dreamweaver & Flash

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), styles, colors, and gradient fills 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. 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.

Use the Line Tool

  • circle1.jpg Click the Line tool in the Toolbar.

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

  • circle2.jpg Click and drag on the Stage, and then release the mouse when the line is the length you need.
  • circle3.jpg 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.
  • + Share This
  • 🔖 Save To Your Account