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.
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...