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

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, styles, and colors that can be applied to it. You can also create your own line style for specific types of dashed, dotted or artistic lines. Create simple shapes, design elements, or use it as a starting point for a drawing. You can constrain the path a line draws to 45-degree angles or create closed shapes by intersecting the lines you draw. When a line overlaps another line on the same layer, it essentially 'cuts' it into two pieces that can be edited as separate objects.

Use the Line Tool

  1. Click the Line tool in the Toolbar.

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


Press N to select the Line tool.

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

    A preview of the line appears as you drag. A circle beneath the crosshair indicates the line's endpoint.

Figure 3.2Figure 3.2

Did You Know?

You can use the Shift key to create a 45 degree line. Click the Line tool, hold down the Shift key, and then drag to draw a 45 degree line.

See Also

See "Changing Stroke and Fill Colors" on page 90 for information on using color.

  • + Share This
  • 🔖 Save To Your Account