Adobe 65008009 - After Effects CS4 Using Manual page 676

User guide
Hide thumbs Also See for 65008009 - After Effects CS4:
Table of Contents

Advertisement

Last updated 12/21/2009
Returns the width of the layer, in pixels. It is the same as
Return type: Number.
height
Returns the height of the layer, in pixels. It is the same as
Return type: Number.
index
Returns the index number of the layer in the composition.
Return type: Layer, Light, or Camera.
parent
Returns the parent Layer object of the layer, if it has one. Example:
Return type: Boolean.
hasParent
Returns true if the layer has a parent or false if it doesn't.
Use the
attribute to determine if a layer has a parent layer. You can use this attribute even if the layer has
hasParent
no parent layer at present. For example, the following expression indicates that the layer to which you apply it wiggles
based on the position of the parent. If the layer has no parent, then it wiggles based on its own position. If the layer is
given a parent later, then the behavior of the layer changes accordingly:
idx = index;
if (hasParent) {
idx = parent.index;
}
thisComp.layer(idx).position.wiggle(5,20)
Return type: Number.
inPoint
Returns the In point of the layer, in seconds.
Note: In general, the value of
value of
is greater than the value of
inPoint
of
.
inPoint
Return type: Number.
outPoint
Returns the Out point of the layer, in seconds.
Return type: Number.
startTime
Returns the start time of the layer, in seconds.
Return type: Boolean.
hasVideo
Returns true if the layer has video, or false if it doesn't.
Return type: Boolean.
hasAudio
Returns true if the layer has audio or false if it doesn't.
Return type: Boolean.
active
Returns true if the Video switch
to the Out point of the layer; false otherwise.
Return type: Boolean.
audioActive
Returns true if the Audio switch
to the Out point of the layer; false otherwise.
Return type: Boolean.
enabled
is greater than the value of
outPoint
. Similarly, the value of
outPoint
is on for the layer and the current time is in the range from the In point of the layer
is on for the layer and the current time is in the range from the In point of the layer
.
source.width
.
source.height
position[0] + parent.width
. However, if a layer is reversed in time, the
inPoint
startTime
USING AFTER EFFECTS CS4
Expressions
can be greater than the value
670

Advertisement

Table of Contents
loading

This manual is also suitable for:

After effects cs4

Table of Contents