ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

link expression through comps

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Andrea Digiorgio
link expression through comps
on Jun 21, 2019 at 11:49:59 am

Hello, i'll explain what i'm trying to do.

- I have to create a slider to control the visibility of the levels inside a comp.
- I want the slider to be outside that comp, to a dedicated level with other slider for other comps.
- I get a sintax error (images)
- But it works if i put the slider into the same composition on a NULL layer.






Why? It was working this system back in the years.
How can i solve?

Thank you

Switch=comp("Man").layer("Controls").effect("Slider Control")("Slider")
Switch2=Math.round(Switch);
if(Switch2==2){100}else{0};


Return to posts index

Miguel de Mendoza
Re: link expression through comps
on Jun 21, 2019 at 12:25:06 pm

The strings are case sensitive. In the image, "CONTROLS" appears in upper case, and in your code in lowercase "Controls". Could it be that?


Return to posts index

Andrea Digiorgio
Re: link expression through comps
on Jun 24, 2019 at 5:02:51 pm

Nope, i've tryed everything.

But i just re-installed After Effects and now it works, probably was bugged by the time?

https://andreadigiorgio.myportfolio.com


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]