-
Trigger composition to play from inpoint
I have a have composition which has some text layers with animations (like opacity, position etc.). This comp has an opening (beginning of comp) and a closing (end of comp). The comp is 30sec long. But I might need to play the closing sometimes at 15sec’s, depending on the counter I will be using. What I have done so far:
1. Split this comp in two comp’s.
2. Using the following expression on comp1 on the opacity so it bring’s it down to 0% while the counter it’s 0: (opening)clockStart = parseInt(comp("main").layer(5).text.sourceText.value);clockTime = clockStart-1*(time-inPoint);
if (clockTime < 0) doWork = -clockTime;
else doWork = 0;
valueAtTime(doWork+key(1).time)3. On the duplicate comp (closure comp), I change the inpoint to where the closure begins, and use the same above script to bring the opacity from 0%to100%.
So far so good, but now my next step is to trigger the playback from the inpoint of the closure comp. So I can see the closure animation. As in point 3 I did a keyframe on the inpoint on the closure comp and used expression in point 2. But this only helps turn on the opacity for the composition and doesnt trigger the closure composition to play. Which property should I use (with keyframe) to trigger the playback from the inpoint of the closure composition.