Home > Articles

Creating Graphics

This chapter is from the book

This chapter is from the book

Using the Polystar Tool

Working in much the same way as the Oval and Rectangle tools, the new Polystar tool allows you to easily create complex vector shapes. You can use this tool to create polygons and stars with up to 32 sides. Choose between creating a polygon or a star. Both styles have characteristics that can be adjusted in the Property Inspector before you draw the shape. Both the polygon and star style can have up to 32 sides, with the star style having an additional star point size that can be set. Experiment with several options to get the kind of shape you want.

Draw a Polygon or Star Shape

  1. Click and hold the Rectangle tool in the Toolbar, and then point to Polystar Tool.

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

Figure 3.10Figure 3.10

  1. Click Options in the Property Inspector.

Timesaver

Press Command+F3 (Mac) or Ctrl+3 (Win) to open the Property Inspector.

Figure 3.11Figure 3.11

  1. Click the Style popup, and then select Polygon or Star.

  2. Enter a value for the number of sides. You can create an object with up to 32 sides.

  3. For the Star style, you can specify an additional option for your point size. You can enter a value ranging from .10 to 1.0 points.

  4. Click OK.

Figure 3.12Figure 3.12

See Also

See "Editing Strokes with the Ink Bottle" on page 102 for information on editing an object.

Understanding Selections

When you create vector graphics in Flash, they are comprised of distinct elements that can be selected separately or as a whole with a variety of selection tools. The type of editing you need to perform determines which tool you use. For example, a simple rectangle drawn is comprised of four line segments that surround the contour of the shape and one fill in the center. Each of these five parts can be selected in tandem or individually with the Arrow Selection tool. Likewise, any stroke that intersects another stroke or fill splits them into distinct elements that can be selected separately.

In Normal selection mode, holding down the Shift key adds to the selection any additional elements you click on. You can change this option in the General tab of the Preferences window so that it isn't necessary to use the Shift key to perform this function. Double-click any stroke to select other strokes connected to it or double-click a fill to select it and any strokes that touch or intersect it. To select an entire shape (strokes and fills) or just a portion of it, you can drag a selection rectangle with the Arrow tool or draw a freeform selection area with the Lasso tool. These methods work best for very complex shapes with many intersecting strokes and fills, or if there is only a portion of the shape you need to edit.

The Sub-Selection and Pen tools allow you to select the entire shape (strokes and fills) simultaneously, making its anchor points and Bézier handles visible for editing. Use this method when you need to edit the contours of the shape with precision.

Figure 3.13Figure 3.13

  • + Share This
  • 🔖 Save To Your Account