Adobe AFTER EFFECTS CS3 PROFESSIONAL User Manual page 569

Hide thumbs Also See for AFTER EFFECTS CS3 PROFESSIONAL:
Table of Contents

Advertisement

Retrieves the layer that is relIndex layers above or below otherLayer. For example,
returns true if the next layer down in the Timeline panel is active.
1).active
Return type: MarkerProperty.
marker
Important: You cannot access a composition-time marker by marker number. If you have a project created in a previous
version of After Effects that uses composition marker numbers in expressions, you must change those calls to use
instead. Because the default name of a composition-time marker is a number, this is often just a
marker.key(name)
matter of surrounding the number with quotation marks.
Return type: MarkerKey.
marker.key(index)
Argument type: index is a Number.
Returns the MarkerKey object of the marker with the specified index. The index refers to the order of the marker in
composition time, not to the name of the marker. For example, this expression returns the time of the first compo-
sition-time marker:
thisComp.marker.key(1).time
Return type: MarkerKey.
marker.key(name)
Argument type: name is a String.
Returns the MarkerKey object of the marker with the specified name. The name value is the name of the marker, as
typed in the comment field in the marker dialog box, for example,
marker, the default name is a number. If more than one marker in the composition has the same name, this method
returns the marker that occurs first in time (in composition time). The value for a marker key is a String, not a
Number. For example, this expression returns the time of the composition-time marker with the name "0":
thisComp.marker.key("0").time
Return type: MarkerKey.
marker.nearestKey(t)
Argument type: t is a Number.
Returns the marker that is nearest in time to t. For example, this expression returns the time of the composition-time
marker nearest to the time of 1 second:
thisComp.marker.nearestKey(1).time
This expression returns the time of the composition-time marker nearest to the current time:
thisComp.marker.nearestKey(time).time
Return type: Number.
marker.numKeys
Returns the total number of composition-time markers in the composition.
Return type: Number.
numLayers
Returns the number of layers in the composition.
Return type: Camera.
activeCamera
Returns the Camera object for the camera through which the composition is rendered at the current frame. This is
not necessarily the camera through which you are looking in the Composition panel.
Return type: Number.
width
Returns the composition's width, in pixels.
Return type: Number.
height
thisComp.layer(thisLayer,
. For a composition-time
marker.key("1")
AFTER EFFECTS CS3
563
User Guide

Advertisement

Table of Contents
loading

Table of Contents