Adobe 65009963 Scripting Manual page 55

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
CompItem frameDuration attribute
a pp .p r o j e c t .i te m (i nd e x) .fram eDu rat i on
Description
The duration of a frame, in seconds. This is the inverse of the
Type
Floating-point; read/write.
CompItem hideShyLayers attribute
a pp .p r o j e c t .i te m (i nd e x) .h i d e S h y L a y e r s
Description
When true, only layers with
including those whose
sh y
Composition panel.
Type
Boolean; read/write.
CompItem layer() method
a pp .p r o j e c t .i te m (i nd e x) .l a y e r ( inde x)
a pp .p r o j e c t .i te m (i nd e x) .l a y e r ( ot h er La y er , r elI n de x)
a pp .p r o j e c t .i te m (i nd e x) .l a y e r ( na m e )
Description
Returns a Layer object, which can be specified by name, an index position in this layer, or an index position
relative to another layer.
Parameters
i n d e x
—or—
o t h e r L a y e r
r e l I n d e x
—or—
n a m e
set to false are shown in the Timeline panel. When false, all layers are visible,
s h y
value is true. Corresponds to the value of the Hide All Shy Layers button in the
The index number of the desired layer in this composition. An integer in the range [1...num-
n u m L a y e r s
Layers], where
A Layer object in this composition. The
layer to find the position of the desired layer.
The position of the desired layer, relative to
L a ye r . i n d e x . . .
numLayers–
layers in the composition.
oth erLa y er
This value is added to the
return.
The string containing the name of the desired layer.
value (frames-per-second).
fr ameR at e
is the number of layers in the composition.
relIn de x
value is added to the index value of this
oth erLa y er
. An integer in the range [1–
ot her L ayer .index
], where
n u m L a y e r s
value to derive the absolute index of the layer to
CompItem object
55
othe r-
is the number of
55

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents