ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Expression Controls / Adjustment Layers - Share Results

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Chris Shearin
Expression Controls / Adjustment Layers - Share Results
on Nov 5, 2019 at 2:46:52 pm

I don't know if anyone else has run into this issue before but I just stumbled on this today and it had me baffled for about an hour.

So on occasion I will throw an adjustment layer into my composition as a holder for expression controls, this works fine since adjustment layers dont actually do anything unless they have an effect applied. So today I needed to modify a part of my expression driven animation (a very simple text write on) I proceeded to duplicate my text and the adjustment layer then update the expression links on the text layer. When I changed my slider values on the new adjustment layer I noticed they were changing the values on the sliders in the adjustment layer below it. If I duplicated a slider, it was duplicated on the new adjustment layer as well. I was really baffled.

The only explanation I can think of is that since the sliders are on an adjustment layer, the top most layer is driving the values on the sliders below. Not sure why the duplicated sliders also show up on the new layer but at least I have a rough understanding of the issue. Since this was such an obscure issue I figured I would share with the community.

So the lesson is never to use adjustment layers for expression controls.

X = text.sourceText;

F = Math.round(time * thisComp.layer("Null 21").effect("Blinking Speed")("Slider") % 1);

L = X.length;

T = time * thisComp.layer("Null 21").effect("Speed")("Slider") - thisComp.layer("Null 21").effect("Start At")("Slider") * thisComp.layer("Null 21").effect("Speed")("Slider");

Cursor = " ";

if (F==1 | T>0) Cursor = "|";

if (T>=L) Cursor = " ";

if (T>0) X.substr(0,T) + Cursor

else Cursor

Return to posts index

Tomas Bumbulevičius
Re: Expression Controls / Adjustment Layers - Share Results
on Nov 7, 2019 at 11:48:16 am

Hey Chris, thanks for sharing. While usually for all expression controllers/etc nulls are normally used, I would still doubt whether the adjustment layer itself could cause issues described.

Any chance it was a coincidence of layer names instead? Just guessing !

Find out more:
After Effects Tutorials: motion design, expressions, scripting.
Boxer - Dynamic Text Boxes Template with a Live Preview

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 All Rights Reserved