Adobe AFTER EFFECTS CS3 PROFESSIONAL User Manual page 582

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

Advertisement

Return type: Number.
index
Returns the index of the keyframe.
MarkerKey attributes
You can access values for composition-time markers and layer-time markers using the same methods. Access layer-
time markers through the
object.
thisComp.marker
For the purpose of expressions, markers are a special kind of Key object, so you can use methods such as
to access markers, and markers also have
nearestKey(time)
the number (name) of the marker; it is the keyframe index number, representing the marker's order in the time ruler.
Expressions have access to all of the values for a marker that you can set in the Composition Marker or Layer Marker
dialog box. This expression on a text layer's Source Text property displays the time, index, comment (name), chapter,
URL, frame target, and cue point name for the layer marker nearest the current time, and whether the marker is for
an event cue point:
m = thisLayer.marker.nearestKey(time);
s = "time:" + timeToCurrentFormat(m.time) + "\r" +
"key index: " + m.index + "\r" +
"comment:" + m.comment + "\r" +
"chapter:" + m.chapter + "\r" +
"URL:" + m.url + "\r" +
"frame target: " + m.frameTarget + "\r" +
"cue point name: " + m.cuePointName + "\r" +
"Event cue point? " + m.eventCuePoint + "\r";
for (param in m.parameters){
s += "parameter: " + param + " value: " + m.parameters[param] + "\r";
}
s
Return type: String.
comment
Contents of Comment field in marker dialog box.
Return type: String.
chapter
Contents of Chapter field in marker dialog box.
Return type: String.
url
Contents of URL field in marker dialog box.
Return type: String.
frameTarget
Contents of Frame Target field in marker dialog box.
Return type: Boolean.
eventCuePoint
Setting for cue point type in marker dialog box. True for Event; false for Navigation.
Return type: String.
cuePointName
Contents of cue point Name field in marker dialog box.
Return type: associative array of String values.
parameters
Contents of Parameter Name and Parameter Value fields in marker dialog box.
object; access composition-time markers through the
thisLayer.marker
and
attributes. The
time
index
AFTER EFFECTS CS3
User Guide
attribute is not
index
576

Advertisement

Table of Contents
loading

Table of Contents