
140
Chapter 6: Vector Shapes
To join two curves:
1
Select a vertex in each curve.
If you select two endpoint vertices, you join them. If you select points in the middle of the
curve, you join the start of the second curve to the end of the first curve.
2
Select Modify > Join Curves.
To split two curves:
•
Select two adjacent vertices, and select Modify > Split Curves.
To change the registration point:
1
Click the Registration Point tool.
The dotted lines in the window intersect at the registration point. The default registration
point is the center of the cast member.
The pointer changes to a cross hair when you move it to the window.
2
Click to set the new registration point.
You can also drag the dotted lines around the window to reposition the registration point.
3
To reset the default registration point at the center of the cast member, double-click the
Registration Point tool.
To change a vector shape cast member’s registration point in Lingo or JavaScript syntax:
•
Set the
regPoint
or
regPointVertex
cast member property. You can test the
centerRegPoint
property to determine whether Director automatically recenters the
registration point when the cast member is edited. (If you specify a value for
regPointVertex
,
any values in the
regPoint
and
centerRegPoint
properties are ignored.) For more
information about these properties, see the Scripting Reference topics in the Director
Help Panel.
To close or open vector shapes:
•
Select or deselect the Closed check box at the left side of the window.
If the shape is closed, Director draws a line between the last and first points defined; if it is
open, Director removes the line between the last and first points.
To close a shape with Lingo or JavaScript syntax:
•
Set the
closed
cast member property to
true
. For more information about this property, see
the Scripting Reference topics in the Director Help Panel.
To scale a vector shape:
•
Control-Alt-drag (Windows) or Command-Option-drag (Macintosh) to proportionally resize
a vector shape.
You can also enter a scaling percentage for a vector shape using the Cast Member Properties
dialog box. For more information, see
“Setting vector shape properties” on page 142
.
Содержание DIRECTOR MX 2004-USING DIRECTOR
Страница 1: ...DIRECTOR MX 2004 Using Director...
Страница 16: ...16 Chapter 1 Introduction...
Страница 82: ...82 Chapter 3 Sprites...
Страница 98: ...98 Chapter 4 Animation...
Страница 134: ...134 Chapter 5 Bitmaps...
Страница 242: ...242 Chapter 10 Sound and Synchronization...
Страница 274: ...274 Chapter 11 Using Digital Video...
Страница 290: ...290 Chapter 12 Behaviors...
Страница 302: ...302 Chapter 13 Navigation and User Interaction...
Страница 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Страница 392: ...392 Chapter 16 Working with Models and Model Resources...
Страница 418: ...418 Chapter 18 Movies in a Window...
Страница 446: ...446 Chapter 22 Managing and Testing Director Projects...