Adobe 65009963 Scripting Manual page 96

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
LayerCollection precompose() method
a pp .p r o j e c t .i te m (i nd e x) . l a y e r s . p r e c o m p o s e ( l a y e r I n di c i e s , n a m e , m o v e A l l At t r i b u t e s )
Description
Creates a new CompItem object and moves the specified layers into its layer collection. It removes the
individual layers from this collection, and adds the new CompItem to this collection.
Parameters
l a ye r I n d i c e s
n a m e
m o v e A l l A t t ri bu te s
Returns
CompItem object.
The position indexes of the layers to be collected. An array of integers.
The name of the new CompItem object.
Optional. When true (the default), retains all attributes in the new composition.
This is the same as selecting the "Move all attributes into the new composition"
option in the Pre-compose dialog box.
You can only set this to false if there is just one index in the
This is the same as selecting the "Leave all attributes in" option in the Pre-com-
pose dialog box.
LayerCollection object
96
l a y e r I n d i ce s
array.
96

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents