-
Expression Order?
I set up an expression to fade a bunch of 3d layers based on their distance from the camera, it works fine and all is groovy.
then I set up an expression to position those layers based on a slider, it also seems to work, and is similarly groovy.
EXCEPT – now the opacity expression doesnt work. It still thinks it’s valid, but the opacity is staying at 0?
If I kill the position expression, the opacity works, is there some way I can specify to do the position 1st, and then think about opacity?
Waa! ?
Here are the expressions I have on every layer:
Opacity:
startFade = 1000;
endFade = 111;
L = thisComp.layer(“Camera 1”);
d = length(L.position,position);
if ( d > endFade )
{ linear(d,startFade,endFade,100,0) }
else
{ linear(d,endFade,0,0,100) }Position:
[1824,1368, (index-2) * thisComp.layer(“2008-11-07_19.02.19.jpg”).effect(“Slider Control”)(“Slider”) ]Any help would be much oblidged.