-
Fade In/Out Expression Problems
Hi,
I’m using an expression (provided by Roland R. Kahlenberg) to control a Pre-Composed group of layers. The expression he provided currently fades in the first layer over 5 seconds, and then offsets each subsequent layer by 3 seconds, and then fades in over 5 seconds as well. This expression works perfectly, but theres a couple of things more I was hoping to add to it.First, if possible, it would be incredible if after all the layers fade in, to wait 5 seconds and then fade out all layers at once over a period of 5 seconds.
Second, to have the expression start at the In Point of each layer, and when the fade out happens, to create an Out Point for each layer in the Pre-Comp.Thanks
duration = 5;
offset = 3;
indexScalar = offset*(index-1);
linear(time,indexScalar,indexScalar+duration,0,100)