-
Need Assistance Again!
Hi guys,
This is particularly intended for Dab who helped me on this before.
Here is the thread: https://forums.creativecow.net/thread/227/19650
I have slightly changed my setup so the expression which Dan so brilliant formulated needs to be changed and I dont know how.
The idea is this: A slider is controlling the visibility of the last layer in a stack of layers in a composition. So suppose there are 10 layers (boxes) arranged across the screen the slider value corresponds to how many are visible. If slider is 10 then 10 and if 5 then 5 and so on.
I am adding an effect which can be turned on/off such as the glow effect on the last visible layer of the stack. So for example, If there are 5 layers visible, then the effect would be turned on the 5th one. The reason I am using expressions is that I want to be able to duplicate these layers without writing an expression on each one.Dan gave me an expression which worked fine for the setup I had before, but now the basic setup is this:
Layer A (index 1)
Layer B (index 2)
Layer C (index 3)I am duplicating ALL these layers but it is only on Layer C that I want to add the effect as described above. The other two layers are not always visible, but have to be there which poses a problem for my expression.
Any ideas?