FORUMS: list search recent posts

Add element opacity to two different sliders.

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Torgeir Bull
Add element opacity to two different sliders.
on Feb 18, 2011 at 12:47:23 pm

Hi. I'm trying to make some controls for my AE-comp. There are four different senarios I'll have to animate, so I tried to make four different sliders to effect the layers...

The problem is that I want the opacity of one object to get influenced by two different sliders. How do I do this? I think it's kind of basic, but I can't seem to figure it out.

Worst case senario I'll have to make four times as many layers, and pickwhip to a single layer four times, but that's what I try to avoid.

Any ideas?

This is what I tried:
thisComp.layer("CONTROLS").effect("Startup")("Slider"), thisComp.layer("CONTROLS").effect("Empty_DustCollector")("Slider")

I live frame by frame.

Return to posts index

Dan Ebberts
Re: Add element opacity to two different sliders.
on Feb 18, 2011 at 5:25:56 pm

How do the sliders interact? Did you just want to add them together? That would be like this:

thisComp.layer("CONTROLS").effect("Startup")("Slider") + thisComp.layer("CONTROLS").effect("Empty_DustCollector")("Slider")

or, is it more complicated than that?


Return to posts index

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