Vector Shapes
251
To close or open vector shapes:
•
Select or deselect the Close 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:
•
Set the
closed
cast member property to
true
. See
closed
in the Lingo Dictionary.
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. See “Setting vector shape properties” on page 252.
Defining gradients for vector shapes
You can use controls in the Vector Shape window or Lingo to specify the type of gradient, how it
is placed within a shape, and how many times it cycles within the shape. A gradient for a vector
shape shifts between the fill color and the end color you define. You can create linear or radial
gradients. Changes you make to vector shape gradients have no effect on gradients for bitmaps in
the Paint window. You can fill only closed vector shapes with gradients.
To define a gradient for a vector shape:
1
Create a closed vector shape in the Vector Shape window.
2
Click the Gradient button in the Fill type controls.
3
To select colors for the gradient, click the color box on the left side of the Gradient Colors
control and select a starting color from the Color menu. To select the ending color, repeat this
step using the color box on the right side of the Gradient Colors control.
4
Select Linear or Radial from the Gradient Type pop-up menu at the top of the window.
5
To define the number of times the gradient should change colors within the shape, use the
Cycles control.
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...