Adobe 12040118 Using Help - Page 149
Property unitsText attribute, Property valueAtTime() method, Description, Parameters, Returns
UPC - 718659361808
View all Adobe 12040118 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 149 highlights
Help Using Help Reference Back 149 Description The property setValuesAtTimes method creates keyframes at a given series of times (for those times where no keyframes exist) and sets values of those keyframes. If no keyframes yet exist, this method creates a set of keyframes and sets the first keyframe at the given time. If no keyframe exists at the given time, this method creates one. If a keyframe does exist at the given time, this method sets its value. Times and values are expressed as arrays. The type of value to use as arguments depends on the propertyValueType. Parameters [times] [ n e w Va l u e s ] floating point value; an array of times at which to set keyframes propertyValueType; an array of values appropriate for the type of property being set Returns None. Property unitsText attribute a p p.p ro j e c t . i t e m ( i n d e x ) . l ay e r ( i n d e x ) . p ro p e r t y ( n a m e ) . u n i t s Tex t Description The Property unitsText attribute is a text description of the units in which the value is expressed. Type String; read-only. Property value attribute app.project.item(index).layer(index).property(name).value Description The Property value attribute contains the value of the property at the current time. If expressionEnabled is true, value returns the evaluated expression value; if there are keyframes, value returns the keyframed value at the current time; in all other cases, value returns the static value for the property. The type of value returned depends on the propertyValueType of the stream. Type Dependent on stream being evaluated; read-only. Examples See "Getting and setting the value of an opacity" on page 132, "Getting and setting the value of a position" on page 133, and "Changing the value of a mask shape to be open instead of closed" on page 133 under Property Object Examples. Property valueAtTime() method app.project.item(index).layer(index).property(name).valueAtTime(time, preExpression) Using Help Back 149