Working in Flash > The Stage and workspace > Using the grid, guides, and rulers |  |

Using the grid, guides, and rulers

Flash comes with rulers and guides that help you draw and lay out objects precisely. You can place guides in a document and snap objects to those guides, or turn on the grid and snap objects to it.

Using the grid

When the grid is displayed in a document, it appears as a set of lines behind the artwork in all scenes. You can snap objects to the grid, and you can modify the grid size and grid line color.

To display or hide the drawing grid:

Choose View > Grid > Show Grid.

To turn snapping to grid lines on or off:

Choose View > Grid > Snap to Grid.

To set grid preferences:

1 | Choose View > Grid > Edit Grid.
2 | For Color, click the triangle in the color box and select a grid line color from the palette.
| The default grid line color is gray.
3 | Select or deselect Show Grid to display or hide the grid.
4 | Select or deselect Snap to Grid to turn snapping to grid lines on or off.
5 | For grid spacing, enter values in the text boxes to the right of the horizontal and vertical arrows.
6 | For Snap Accuracy, select an option from the pop-up menu.
7 | If you want to save the current settings as the default, click Save Default.

Using guides

You can drag horizontal and vertical guides from the rulers onto the Stage when the rulers are displayed. You can move guides, lock guides, hide guides, and remove guides. You can also snap objects to guides, and change guide color and snap tolerance (how close objects must be to snap to a guide). Draggable guides appear only in the Timeline in which they were created.

To create custom guides or irregular guides, you use guide layers. See Using guide layers.

To display or hide the drawing guides:

Choose View > Guides > Show Guides.

Note: If the grid is visible and Snap to Grid is turned on when you create guides, guides will snap to the grid.

To turn snapping to guides on or off:

Choose View > Guides > Snap to Guides.

Note: Snapping to guides takes precedence over snapping to the grid in places where guides fall between grid lines.

To move a guide:

Use the Arrow tool to drag the guide.

To remove a guide:

With guides unlocked, use the Arrow tool to drag the guide to the horizontal or vertical ruler. For information on locking and unlocking guides, see the following procedure.

To set guide preferences:

1 | Choose View > Guides > Edit Guides.
2 | For Color, click the triangle in the color box and select a guide line color from the palette.
| The default guide color is green.
3 | Select or deselect Show Guides to display or hide guides.
4 | Select or deselect Snap to Guides to turn snapping to guides on or off.
5 | Select or deselect Lock Guides to lock or unlock guides.
6 | For Snap Accuracy, select an option from the pop-up menu.
7 | If you want to remove all guides, click Clear All.
| Note: Clear All removes all guides from the current scene.
8 | If you want to save the current settings as the default, click Save Default.

Using rulers

When rulers are displayed, they appear along the top and left sides of the document. You can change the unit of measure used in the rulers from the default of pixels. When you move an element on the Stage with the rulers displayed, lines indicating the element's dimensions appear on the rulers.

To display or hide rulers:

Choose View > Rulers.

To specify the rulers' unit of measure for a document:

Choose Modify > Document, and then select an option from the pop-up menu at the upper right.