Sprites
171
To configure the grid:
1
With the Property inspector open, click the Guides tab.
The bottom half of the Guides tab contains Grid settings.
2
To change the grid color, click the Grid Color box and select a different color.
3
Select the desired options to make the grid visible and to make the sprites snap to the grid.
4
To change the width and height of the grid, enter values in the W and H text boxes.
5
Select the desired options to display the grid as dots or lines.
To align sprites using the Align window:
1
On the Stage or in the Score, select the sprites to align.
Select entire sprites, keyframes, or frames within sprites in as many different frames or channels
as you need. All of the elements will align to the last sprite or frame selected.
2
Select Window > Align to open the Align panel.
3
Select alignment buttons to modify the selected objects:
•
For Align, select Align Left Edge, Align Horizontal Center, Align Right Edge, Align Horizontal
Registration Point, Align Top Edge, Align Vertical Center, Align Bottom Edge, or Align
Vertical Registration Point.
•
For Distribute, select Distribute Left Edge, Distribute Horizontal Center, Distribute Right
Edge, Distribute Horizontal Registration Point, Distribute Width, Distribute Horizontally
Across Stage, Distribute Top Edge, Distribute Vertical Center, Distribute Bottom Edge,
Distribute Vertical Registration Point, Distribute Height, or Distribute Vertically Across Stage.
Positioning sprites with Lingo
Lingo lets you control a sprite’s position by setting the sprite’s coordinates on the Stage. You
can also test a sprite’s coordinates to determine a sprite’s current position and whether two
sprites overlap.
To check the location of a sprite’s registration point or bounding rectangle on the Stage:
•
Test the
bottom
,
left
,
loc
,
locH
,
locV
,
right
, or
top
sprite property.
The
bottom
,
left
,
right
, and
top
sprite properties determine the location of the sprite’s
individual edges. See
bottom
,
left
,
right
, and
top
in the Lingo Dictionary.
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...