Returns the composition's height, in pixels.
Return type: Number.
duration
Returns the composition's duration, in seconds.
Return type: Number.
displayStartTime
Returns the composition start time, in seconds.
Return type: Number.
frameDuration
Returns the duration of a frame, in seconds.
Return type: Number.
shutterAngle
Returns the shutter-angle value of the composition, in degrees.
Return type: Number.
shutterPhase
Returns the shutter phase of the composition, in degrees.
Return type: Array [4].
bgColor
Returns the background color of the composition.
Return type: Number.
pixelAspect
Returns the pixel aspect ratio of the composition.
Return type: String.
name
Returns the name of the composition.
Footage attributes and methods
To use a footage item from the Project panel as an object in an expression, use the global
, and then use any of the attributes below. You can also access a footage object using the
footage("file_name")
attribute on a layer whose source is a footage item.
source
Return type: Number.
width
Returns the width of the footage item, in pixels.
Return type: Number.
height
Returns the height of the footage item, in pixels.
Return type: Number.
duration
Returns the duration of the footage item, in seconds.
Return type: Number.
frameDuration
Returns the duration of a frame in the footage item, in seconds.
Return type: Number.
pixelAspect
Returns the pixel aspect ratio of the footage item.
Return type: String.
name
Returns the name of the footage item as shown in the Project panel.
AFTER EFFECTS CS3
User Guide
method, as in
footage
564