Controlling Vector Shapes With Lingo; Setting Vector Shape Properties - MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual

Table of Contents

Advertisement

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 with Lingo:
Set the
fillColor
cast member properties. See
endColor
,
fillScale
gradientType

Controlling vector shapes with Lingo

You can use Lingo to modify a vector shape by setting properties and using commands and
functions related to the shape's vertices. For more information on each of these commands,
properties, and expressions, see the Lingo Dictionary.
To display a list that contains the location of each vertex and control handle in a vector shape,
test the
vertexList
To access a vertex directly, use the
To add or delete a vertex, use the
To move a vertex or a vertex handle, use the
command.
To display the vertex list for a vector shape, test the
To add a new shape to the vector shape, use the
To display or specify the registration point for the vector shape's cast member, test or set the
regPointVertex
To display or specify the point around which a vector shape scales and rotates, test or set the
property.
originMode

Setting vector shape properties

You can use the Property inspector to view and change settings for selected vector shape cast
members. In addition to setting standard name and unload properties, you can specify anti-
aliasing based on system performance and how the shape fits within the bounding rectangle.
To view or change vector shape cast member properties:
Select a vector shape cast member and click the Member tab on the Property inspector.
1
To specify how Director removes the cast member from memory if memory is low, be sure
2
you're in Graphical view and select an option from the Unload pop-up menu. See "Controlling
cast member unloading" on page 152.
252
Chapter 8
,
,
fillDirection
fillMode
fillColor
, and
endColor
property.
vertex
addVertex()
property.
,
,
fillOffset
fillScale
,
fillDirection
in the Lingo Dictionary.
chunk expression.
or
deleteVertex()
or
moveVertex()
moveVertexHandle()
property.
curve
command.
newCurve()
,
, and
gradientType
,
,
fillMode
fillOffset
command.
,

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Director mx

Table of Contents