View comments | RSS feed

After Effects CS3  |  Go to CS4 Help

Layer Sub-objects attributes and methods

source
Return type: Comp or Footage.

Returns the source Comp or source Footage object for the layer. Default time is adjusted to the time in the source. Example: source.layer(1).position

effect(name)
Return type: Effect.

Argument type: name is a String.

After Effects finds the effect by its name in the Effect Controls panel. The name can be the default name or a user-defined name. If there is more than one effect with the same name, the effect closest to the top of the Effect Controls panel is used. Example:

  effect("Fast Blur")("Blurriness")

effect(index)
Return type: Effect.

Argument type: index is a Number.

After Effects finds the effect by its index in the Effect Controls panel, starting at 1 and counting from the top.

mask(name)
Return type: Mask.

Argument type: name is a String.

The name can be the default name or a user-defined name. If there is more than one mask with the same name, the first (topmost) mask is used. Example:

  mask("Mask 1")

mask(index)
Return type: Mask.

Argument type: index is a Number.

After Effects finds the mask by its index in the Timeline panel, starting at 1 and counting from the top.


Comments

Comments are no longer accepted for After Effects CS3. After Effects CS4 is the current version. To discuss After Effects CS3, please use the Adobe forum.

Comments


Batteram said on Aug 25, 2007 at 10:31 AM :
This topic is "Layer subobjects", however it does not describe how to access "Shapes" from an expression.

How to access shapes from an expression should go here, or should be linked to.
Todd_Kopriva said on Aug 25, 2007 at 1:05 PM :
This section is the reference section for the attributes and methods in the Layer Sub-objects submenu of the Expression Language menu.

What sort of information are you looking for, exactly? Accessing the properties of a shape layer with expressions is not fundamentally different from accessing the properties of any other layer. If you want to talk about using expressions with shape layers, I encourage you to bring this discussion over to the expressions user-to-user forum:

http://www.adobeforums.com/cgi-bin/webx/.ef366e7/

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/en_US/AfterEffects/8.0/WS3878526689cb91655866c1103906c6dea-7a01.html