Defining Gradients For Vector Shapes - MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

Defining gradients for vector shapes

You can use controls in the Vector Shape window or Lingo or JavaScript syntax 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:
Create a closed vector shape in the Vector Shape window.
1
Click the Gradient button in the Fill type controls.
2
To select colors for the gradient, click the color box on the left side of the Gradient Colors
3
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.
Select Linear or Radial from the Gradient Type pop-up menu at the top of the window.
4
To define the number of times the gradient should change colors within the shape, use the
5
Cycles control.
To specify the rate at which the gradient shifts between colors, use the Spread control to enter
6
a percentage.
A setting of 100% uses the entire width or height of the shape to gradually shift colors. Lower
settings make the shift more abrupt. For settings over 100%, the end color is reached at a
theoretical location beyond the edges of the shape.
To rotate the gradient within the shape, use the Angle control to enter the number of degrees.
7
This setting affects only linear gradients.
To offset the gradient within the shape, enter X Offset (horizontal) and Y Offset
8
(vertical) values.
To specify a gradient in Lingo or JavaScript syntax:
Set the
fillColor
cast member properties. For more information about these properties, see the
endColor
Scripting Reference topics in the Director Help Panel.
,
,
fillDirection
fillMode
,
,
fillOffset
fillScale
Defining gradients for vector shapes
,
, and
gradientType
141

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents