Setting vector shape properties

You can use the Property inspector to view and change settings for selected vector shape cast members. In addition to setting standard name and unload properties, you can specify anti-aliasing based on system performance and how the shape fits within the bounding rectangle.

To view or change vector shape cast member properties:

  1. Select a vector shape cast member and click the Member tab on the Property inspector.
  2. To specify how Director removes the cast member from memory if memory is low, be sure you're in Graphical view and select an option from the Unload pop-up menu. For more information, see Controlling cast member unloading.
  3. To set specific vector shape settings, click the Vector tab.
  4. To set the stroke color, choose a color from the Color menu, or enter a color value in the Stroke Color text box.
  5. To set the width of the stroke, use the Width slider.
  6. To set the fill color, select a color from the Color menu, or enter a color value in the Fill Color text box.
  7. To set the type of fill, select one of these three options: No Fill, Solid, or Gradient.
  8. To change the setting for anti-aliasing, click Anti-alias.

    A check mark indicates that Anti-alias is on.

  9. To specify how vector shapes are scaled on the Stage, select an option from the Scale Mode pop-up menu.

    Show All maintains the vector shape's aspect ratio and, if necessary, fills in any gap along the horizontal or vertical dimension using the vector shape's background color.

    No Border maintains the vector shape's aspect ratio by cropping the horizontal or vertical dimension as necessary without leaving a border.

    Exact Fit stretches the vector shape to fit the sprite exactly, disregarding the aspect ratio.

    Auto Size adjusts the vector shape's bounding rectangle to fit the movie when it is rotated, skewed, or flipped.

    No Scale places the vector shape on the Stage with no scaling. The movie stays the same size no matter how you resize the sprite, even if it means cropping the vector shape.

  10. To change the size of the cast member, either enter a percentage in the Percentage text box (Graphical view) or use the Scale slider (List view) to determine a percentage.