Adobe 12040118 - After Effects Standard Using Manual page 56

Using help
Hide thumbs Also See for 12040118 - After Effects Standard:
Table of Contents

Advertisement

Help
Using Help
Methods inherited from Item object and AVItem object (see "Item object" on page 97 and "AVItem object" on
page 37)
Method
rem ove()
s e t Prox y ( )
setProxyWith S eq u en ce()
s e t Prox y Wi t h S o l i d ( )
setProxyWith P la ceh ol der ()
setProxyTo No n e ()
Example
Given that the first item in the project is a CompItem, the following code would result in two alerts. The first
would display the number of layers in the CompItem, and the second would display the name of the last Layer
in the CompItem.
var firstComp = app. project.item(1);
aler t( "number of layers is " + firstComp.numLayers );
aler t( "name of last layer is " + firstComp.layer(firstComp.numLayers).name );
CompItem activeCamera attribute
app.project.ite m(index). a c t ive C a m e r a
Description
The active camera is the front-most camera layer that is enabled. The value is null if the comp contains no
enabled camera layers.
Type
Layer; read-only.
CompItem bgColor attribute
app.project.ite m(index). bgColor
Description
The bgColor attribute specifies the background color of the comp. The value should be an array containing
three floats in the range [0..1] for red, green, and blue.
Type
Array of three floating-point values from 0 to 1: [R, G, B); read/write.
Using Help
Reference
see "Item remove() method" on page 99 deletes the item from the project
see "AVItem setProxy() method" on
page 42
see "AVItem setProxyWithSequence()
method" on page 43
see "AVItem setProxyWithSolid()
method" on page 43
see "AVItem setProxyWithPlaceholder()
method" on page 42
see "AVItem setProxyToNone() method"
on page 42
Reference
Back
Description
sets a proxy for the AVItem
sets a sequence as a proxy for the AVItem
sets a solid as a proxy (feature available only via
scripting)
sets a placeholder as a proxy
removes the proxy
Back
56
56

Advertisement

Table of Contents
loading

This manual is also suitable for:

After effects

Table of Contents