Adobe 65009963 Scripting Manual page 132

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
mySha pe .ve rtices = [[0,0 ], [0 ,10 0], [1 00, 100 ], [10 0,0 ]];
v a r m y M a s k = m y l a y e r .p r o p e r t y ( " A DBE Mask Pa rade").pro pe rty(1);
m y M as k. pr o pe r ty ( " A D BE M as k S h ap e " ) .s e tV al u e (m y S h a p e ) ;
Type
A
enumerated value; read/write. One of:
Pr ope rty V al ue T y pe
E
P r o pe r t yV a l u e T yp e . N O_ V ALUE
P r o p e r t y V a l u e T y p e . T h r e e D _ S P A T I A L
P r o pe r t yV a l u e T yp e . T h re e D
P r o p e r t y V a l u e T y p e . T w o D_ S P A T I A L
P r o pe r t yV a l u e T yp e . T w o D
P r o p e r t y V a l u e T y p e . O n e D
P r o p e r t y V a l u e T y p e . C O L O R
P r o p e r t y V a l u e T y p e . C U S T O M_ V A L U E
P r o p e r t y V a l u e T y p e . M A R K E R
P r o p e r t y V a l u e T y p e . L A Y E R _ I N D E X
P r o p e r t y V a l u e T y p e . M A S K _ I N D E X
Proper tyVa lueType. SH APE
P r o p e r t y V a l u e T y p e . T E X T _ D O C U M E N T
Property removeKey() method
a pp .p r o j e c t .i te m (i nd e x) .laye r( in de x) .p r op e rt y S p ec .re m ove Ke y (k ey I nd e x)
Description
Removes the specified keyframe from the named property. If no keyframe with the specified index exists,
generates an exception and displays an error.
When a keyframe is removed, the remaining index numbers change. To remove more than one keyframe, you
must start with the highest index number and work down to the lowest to ensure that the remaining indices
reference the same keyframe after each removal.
Parameters
k ey I n d ex
The index for the keyframe. An integer in the range [1..numKeys], as returned by the
Ke y I n d ex
Returns
Nothing.
Stores no data.
Array of three floating-point positional values. For example, an Anchor
Point value might be [10.0, 20.2, 0.0]
Array of three floating-point quantitative values. For example, a Scale
value might be [100.0, 20.2, 0.0]
Array of 2 floating-point positional values For example, an Anchor Point
value might be [5.1, 10.0]
Array of 2 floating-point quantitative values. For example, a Scale value
might be [5.1, 100.0]
A floating-point value.
Array of 4 floating-point values in the range [0.0..1.0]. For example, [0.8,
0.3, 0.1, 1.0]
Unimplemented type; you cannot get or set values for properties with this
type.
MarkerValue object; see "MarkerValue object" on page 98.
Integer; a value of 0 means no layer.
Integer; a value of 0 means no mask.
Shape object; see "Shape object" on page 164.
TextDocument object; see "TextDocument object" on page 171.
method.
Property object
132
a dd K ey
near est-
or
132

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents