-
Dan Ebberts wonderful expressions
Hello I try to combine 2 expressions from Mr Ebberts that found on this forum
but I am to stupid
What I want to achieve is that I can control the in point and the duration of a 4 Keyframe Opacity animationfor the In point I found this nugget
A = effect(“in Point”)(“Schieberegler”);
delta = A ;
valueAtTime(time – A)and for the duration in found this nugget
ip = effect(“Duration”)(“Schieberegler”);
d = key(numKeys).time – key(numKeys-1).time;
if (time > (ip – d)){
t = key(numKeys-1).time + (time – (ip – d));
}else{
t = Math.min(time,key(numKeys-1).time);
}
valueAtTime(t)individually they work great but as I said I am to stupid to make them both work
together
Please excuse my English its not my first language
And I want to thank Mr Ebberts for sharing his knowledge I learnt a lot over the years from his forum posts and his old homepage but obviously not enough