Adobe 65009963 Scripting Manual page 90

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
Layer remove() method
a pp .p r o j e c t .i te m (i nd e x) .l ay e r ( inde x) .r e m o v e ()
Description
Deletes the specified layer from the composition.
Parameters
None.
Returns
Nothing.
Layer selectedProperties attribute
a pp .p r o j e c t .i te m (i nd e x) .l ay e r ( inde x). se l e ct e dPrope rt i e s
Description
An array containing all of the currently selected Property and PropertyGroup objects in the layer.
Type
Array of PropertyBase objects; read-only.
Layer setParentWithJump() method
a pp .p r o j e c t .i te m (i nd e x) .l ay e r ( inde x) .set P are n tWit hJu mp( n e w P a r e n t )
Description
Sets the parent of this layer to the specified layer, without changing the transform values of the child layer.
There may be an apparent jump in the rotation, translation, or scale of the child layer, as this layer's transform
values are combined with those of its ancestors.
If you do not want the child layer to jump, set the
and set in the child layer's transform fields, to prevent the jump from occurring.
Parameters
ne wPar ent
Returns
Nothing.
Layer shy attribute
a pp .p r o j e c t .i te m (i nd e x) .l ay e r ( inde x) .s hy
Description
When true, the layer is "shy," meaning that it is hidden in the Layer panel if the composition's "Hide all shy
layers" option is toggled on.
p a r e n t
A layer object in the same composition.
attribute directly. In this case, an offset is calculated
Layer object
90
90

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents