Hey,
I am a begginer at AE scripting. I'd like to change text color over time. I have already done this with f.e. scale property. I'd like to do the same with color. So until now Ive changed the color once:
//CHANGING SOURCE TEXT PROPERTIES {{{
var compSourceText = comp.layer(1).property("Source Text");
var compTextValue = compSourceText.value;
compTextValue.fillColor = [1, 0, 0];
compSourceText.setValue(compTextValue);
// }}}
How can I change it at given time? Like here:
var compScaleProperty = comp.layer(1).property("Scale");
compScaleProperty.setValueAtTime(5, [360, 360]);
compScaleProperty.setValueAtTime(5.4, [370, 370]);
compScaleProperty.setValueAtTime(5.8, [380, 380]);
compScaleProperty.setValueAtTime(6.2, [400, 400]);
compScaleProperty.setValueAtTime(6.6, [420, 420]);
compScaleProperty.setValueAtTime(7, [440, 440]);
I'd be very grateful for any help