JavaScript Reference
Returns
Nothing.
Property setValuesAtTimes() 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 .set Valu esAtTime s( t i m e s , n e w V a l u e s )
Description
Sets values for a set of keyframes at specified of times. Creates a new keyframe for the named property, if one
does not currently exist for a specified time, and sets its value.
Times and values are expressed as arrays; the arrays must be of the same length.
Parameters
t im es
ne wV alue s
Returns
Nothing.
Property unitsText attribute
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 . u n i t sT ex t
Description
The text description of the units in which the value is expressed.
Type
String; read-only.
Property value attribute
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 .va l ue
Description
The value of the named property at the current time.
•
If
is true, returns the evaluated expression value.
e x p r e s s i o n E n a b l e d
If there are keyframes, returns the keyframed value at the current time.
•
•
Otherwise, returns the static value.
The type of value returned depends on the property value type. See examples for "Property object" on
page 118.
Type
A value appropriate for the type of the property (see "Property propertyValueType attribute" on page 131);
read-only.
An array of times, in seconds. Each time is a floating-point value. The beginning of the compo-
sition is 0.
A array of values appropriate for the type of property being set; see "Property propertyValue-
Type attribute" on page 131.
Property object
138
138