motion graphics eXchange
top

Referencing expressions of a layer

Thumbnail for: Referencing expressions of a layer
If you would like to reference one expression from different layers to change things only in one place.
After Effects CS3
Useful things
Expressions

Views: 3831
Permalink
visit |  share this  error? 
You can't access a expression from another layer, but you could construct your expression in a text layer and the evaluate that from your other expressions. So, you could put something like this in a text layer and guide it:
x = 100;
y = 100;
[x,y]
And then put something like this in another layer's position expression:
eval(thisComp.layer("Text Layer 1").text.sourceText.value);
by Dan Ebberts


(Min. Version: After Effects CS3, Category: Useful things, Type: Expressions)
posted by peter17 on Jan 02, 2010

 

Related topics:

Folding Template

Thumbnail for: Folding Template
folding and unfolding template free to use.
Require After Effects CS6
After Effects CS6
Other
Projects (aep)

Views: 34634
Permalink
posted by fsimoni on Nov 05, 2012

Product, Service or App Promotion

Thumbnail for: Product, Service or App Promotion
After Effects Template. Promote your app, product or service
After Effects CS5
Useful things
Projects (aep)

Views: 16592
Permalink
posted by RedSpikeFx on Oct 30, 2012

Clean Logo V2

Thumbnail for: Clean Logo V2
After Effects CS4,CS5,CS5.5 and CS6 template logo reveal
After Effects CS4
Other
Projects (aep)

Views: 20808
Permalink
posted by aedaddy on Aug 19, 2012


 

 

follow us on http://twitter.com/mgxchangegoogle+get in touch on facebook

 

 

Full length video training series presented by motion graphics industry professionals. Click here to visit Motionworks website!