After Effects CS3  |  Go to CS4 Help

Footage attributes and methods

To use a footage item from the Project panel as an object in an expression, use the global footage method, as in footage("file_name"), and then use any of the attributes below. You can also access a footage object using the source attribute on a layer whose source is a footage item.

width
Return type: Number.

Returns the width of the footage item, in pixels.

height
Return type: Number.

Returns the height of the footage item, in pixels.

duration
Return type: Number.

Returns the duration of the footage item, in seconds.

frameDuration
Return type: Number.

Returns the duration of a frame in the footage item, in seconds.

pixelAspect
Return type: Number.

Returns the pixel aspect ratio of the footage item.

name
Return type: String.

Returns the name of the footage item as shown in the Project panel.


Comments

Comments are no longer accepted for After Effects CS3. After Effects CS4 is the current version. To discuss After Effects CS3, please use the Adobe forum.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/en_US/AfterEffects/8.0/WS3878526689cb91655866c1103906c6dea-7a02.html