42
JavaScript Reference
AVLayer object
42
AVLayer audioActiveAtTime() method
a p p . p r o j e c t . i t e m
( i n d e x )
. l a y e r (
i n d e x
) . a u d i o A c t i v e A t T i m e (
t i m e
)
Description
Returns true if this layer's audio will be active at the specified time.
For this method to return true,
a u d i o E n a b le d
must be true, no other layer with audio may be soloing unless
this layer is soloed too, and the time must be between the
i n P o i n t
and
o u t P o i n t
of this layer.
Parameters
Returns
Boolean.
AVLayer audioEnabled attribute
a p p . p r o j e c t . i t e m
( i nd e x ) .
l a y e r (
i n d e x
) . a u d i o E n a bl e d
Description
When true, the layer's audio is enabled. This value corresponds to the audio toggle switch in the Timeline
panel.
Type
Boolean; read/write.
AVLayer autoOrient attribute
a p p . p r o j e c t . i t e m
( i nd e x ) .
l a y e r (
i n d e x
) . a u t o O r i e n t
Description
The type of automatic orientation to perform for the layer.
Type
An
A u t o O r i e n t T y p e
enumerated value; read/write. One of:
A u t o O r i e n t T y p e . A L O N G _ P A T H
A u t o O r i e n t T y p e . C A M E R A _ O R _ P O I N T _ O F _ I N T E R E S T
A u t o O r i e n t T y p e . N O _ A U T O _ O R I E N T
AVLayer blendingMode attribute
a p p . p r o j e c t . i t e m
( i nd e x ) .
l a y e r (
i n d e x
) . b l e n d i n g M o d e
Description
The blending mode of the layer.
Type
A
B l e n d i n g M o d e
enumerated value; read/write. One of:
t im e
The time, in seconds. A floating-point value.
Summary of Contents for 65009963 - After Effects CS4
Page 1: ...SCRIPTING GUIDE...