Chapter 5
168
The following diagram shows all the sprite coordinates you can specify.
Director places the image of a cast member on the Stage by specifying the location of its
registration point. For many cast members, such as bitmap or vector shapes, the registration point
is in the center of the bounding rectangle by default. For other types of cast members, the
registration point is at the upper left corner. (For instructions on changing the location of the
registration point of bitmap cast members, see “Changing registration points” on page 219. For
instructions on changing a vector shape cast member’s registration point, see “Editing vector
shapes” on page 249.)
Visually positioning sprites on the Stage
You can position sprites on the Stage by dragging them or by using the arrow keys.
To visually position a sprite on the Stage:
1
Select Window > Stage to display the Stage.
2
Do one of the following on the Stage:
•
Drag a sprite to a new position. Hold down Shift to limit the movement to horizontal or
vertical straight lines.
•
Select a sprite and use the arrow keys to move the selected sprite 1 pixel at a time. Hold down
Shift as you press an arrow key to move the selection 10 pixels at a time.
Top
Bottom
Right
Left
Width
0,0 Upper left corner of the Stage
Bounding
rectangle
Height
Registration
point (X,Y)
Содержание 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...