Adobe 65009963 Scripting Manual page 33

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
AVItem duration attribute
a pp .p r o j e c t .i te m (i nd e x) .d u r a ti o n
Description
Returns the duration, in seconds, of the item. Still footage items have a duration of 0.
In a CompItem, the value is linked to the
In a FootageItem, the value is linked to the
Type
Floating-point value in the range [0.0..10800.0]; read/write for a CompItem; otherwise, read-only.
AVItem footageMissing attribute
a pp .p r o j e c t .i te m (i nd e x) .f o o t a g e Mi s s i n g
Description
When true, the AVItem is a placeholder, or represents footage with a source file that cannot be found. In this
case, the path of the missing source file is in the
object. See "FootageItem mainSource attribute" on page 65 and "FileSource missingFootagePath attribute"
on page 60.
Type
Boolean; read-only.
AVItem frameDuration attribute
a pp .p r o j e c t .i te m (i nd e x) .f ram eDu rat ion
Description
Returns the length of a frame for this AVItem, in seconds. This is the reciprocal of
reciprocal is automatically set as a new
This attribute returns the reciprocal of the
value is not evenly divisible into 1.0 (for example, 0.3). Due to numerical limitations, (1 / (1 / 0.3)) is close to,
but not exactly, 0.3.
If the AVItem is a FootageItem, this value is linked to the
of the
c o n f o r m F r a m e R a t e
FootageItem.
Type
Floating-point value in the range [1/99.. 1.0]; read-only for a FootageItem, otherwise read/write.
of the composition, and is read/write.
d u r a ti o n
du rat i on
m i s s i n g F o ot a g e P a t h
value.
f r am e R a te
, which may not be identical to a value you set, if that
f r am e R a te
object. This sets both the
m ai n S ourc e
of the
object, and is read-only.
m a i n So u r c e
attribute of the footage item's source-file
f ra m eRa te
, and is read-only. To change it, set the
m a i n S o u r ce
and
f rame Rat e
fr ame Dur at io n
AVItem object
33
. When set, the
of the
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents