
Editing vector shapes
139
To specify a vector shape’s fill in script:
•
Set the
fillColor
,
fillMode
,
fillOffset
, and
fillScale
cast member properties. For
more information about these properties, see the Scripting Reference topics in the Director
Help Panel.
Editing vector shapes
To edit vector shapes, you use the Vector Shape window. You change vector shapes by moving,
adding, or deleting control points and changing the way they control curves. You can also change
the way a vector shape is placed on the Stage by moving its registration point, using either the
Vector Shape window or Lingo or JavaScript syntax.
To adjust the outline of a vector shape:
1
Open a vector shape in the Vector Shape window.
2
Click the Arrow tool and make any of the following changes:
■
To move a curve or corner point, drag it to any location.
■
To move multiple points, Shift-click or marquee select all the points you want to move, then
drag any one of the selected points.
■
To drag a single curve within a shape, select the Arrow tool and drag the curve. If the curve
is filled, you can click anywhere within the filled area and drag the curve.
■
To adjust a curve, select a curve point and drag a control handle.
By default, the two control handles remain at a 180° angle from each other. If you want to drag
one control handle independently from the other one, hold down Control (Windows) or
Command (Macintosh) when you drag it. To constrain the control handles to vertical,
horizontal, or a 45° angle, hold down Shift as you move them.
■
To change a corner point to a curve point, Alt-click (Windows) or Option-click
(Macintosh) and drag away from the handle to extend a control handle.
■
To change a curve point to a corner point, drag the control handles directly over the
curve point.
■
To delete a point, select the point and press Backspace (Windows) or Delete (Macintosh).
■
To move the window view without using the scroll bars, click the Hand tool and drag
anywhere inside the shape.
To add a point in the middle of a shape:
1
Open a vector shape in the Vector Shape window.
2
Click the Pen tool.
3
If the shape is closed, move the pointer over a line until it changes and then click the mouse
button. If the shape is open, hold down Alt (Windows) or Option (Macintosh) and move the
pointer over a line until it changes; then click the mouse button.
To add a new point that is connected to a certain end point:
1
Click the Arrow tool and select an end point.
2
Click the Pen tool, and click the location where you want to add the next point.
Summary of Contents for DIRECTOR MX 2004-USING DIRECTOR
Page 1: ...DIRECTOR MX 2004 Using Director...
Page 16: ...16 Chapter 1 Introduction...
Page 82: ...82 Chapter 3 Sprites...
Page 98: ...98 Chapter 4 Animation...
Page 134: ...134 Chapter 5 Bitmaps...
Page 242: ...242 Chapter 10 Sound and Synchronization...
Page 274: ...274 Chapter 11 Using Digital Video...
Page 290: ...290 Chapter 12 Behaviors...
Page 302: ...302 Chapter 13 Navigation and User Interaction...
Page 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Page 392: ...392 Chapter 16 Working with Models and Model Resources...
Page 418: ...418 Chapter 18 Movies in a Window...
Page 446: ...446 Chapter 22 Managing and Testing Director Projects...