Using Director > Vector Shapes and Bitmaps > Setting vector shape properties |  |

Setting vector shape properties

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 Cast 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 choose an option from the Unload pop-up menu. See Controlling cast member unloading.
3 | To set specific vector shape settings, click the Vector tab.
4 | To change the setting for anti-aliasing, click Anti-alias.
| A check mark indicates that Anti-alias is on.
5 | In the scaleMode field, you can control how the vector shape sprites are scaled on the Stage:
| 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.
6 | To change the size of the cast member, either enter a percentage in the Scale field (Graphical view) or use the slide bar (List view) to determine a percentage.