-
Color Transition between two Colors by Slider Control
Dear Expression heroes,
my fourth question within a few day – expression rocks:
I want to change the fill of a Shape Layer by a Slider value from 0 to 100.
The Slider Effect is on a Null objekt. But also two Color Control effects, one for the Sliders value at 0, the other for the value at 100.
When animating the Slider between 0 and 100 the color change is supposed to be smooth.
I gave it a try but there was error only:
Col=thisComp.layer("Null 42").effect("Slider Control")("Slider");
color1=[thisComp.layer("Null 42").effect("Color 1")("Color")];
color2=[thisComp.layer("Null 42").effect("Color 2")("Color")];
linear (Col,0,100,color1,color2)Whats wrong?
Thank you so much in advance,
SebastianSebastian Martinez
CGI-Designer
Cologne, Germany
AE, AI, PS, 3ds max, C4d