Ok…. I am probably way off here, because my knowledge in expression is almost limited to a Wiggle… 🙂
but just to show you I am making an effort, and maybe sparkles an idea in one of your brilliant minds.. here goes a test I did:
————————————————————————————————————————————–
upColor = thisComp.layer(“Ctrl”).effect(“Up Color”)(“Color”);
downColor = thisComp.layer(“Ctrl”).effect(“Down Color”)(“Color”);
value = thisComp.layer(“Ctrl”).effect(“Slider Control”)(“Slider”);
prevframe = thisComp.layer(“Ctrl”).effect(“Slider Control”)(“Slider”).valueAtTime(time – thisComp.frameDuration);
if(prevframe.valueAtTime < ((time * 25) % 2 == 0).valueAtTime))downColor else upColor;
value;
————————————————————————————————————————————–
And a screen capture of my comp attached.
so… basically I am trying to get a value from a place that doesn’t has one… (linking the source of the text to a slider)
any ideas how to solve this nut?
tnxx, I.S
10367_capture.jpg.zip