-
Get position on timeline from other comp
Hey guys,
Anwser to this one is probably pretty straight forward, but I am having a hard time figuring it out.
I have a comp with an animation triggered by a marker positioned at say 5 seconds in the main timeline. This works great, provided the comp starts at 0:00:00:00 in the main timeline. As soon as I reposition the comp to start at, for instance, 0:00:03:00 my animation still works, however it starts at 8 seconds (the 3 second delay for moving the comp down the timeline, and then te 5 seconds which is the position of the marker in the main timeline).
I need to figure out how to get the current frame of the main timeline in stead of the current frame of the comp containing the animation.
My code is roughly like this:
ease(time, nextMarkerTime, nextMarkerTime+1,0,100);And I would like it to be something like:
ease(comp('Main Timeline').time, nextMarkerTime, nextMarkerTime+1,0,100);However, AE doesn’t accept the
comp('Main Timeline').timepart.Any clues on how to fix this…
Thanks,
Allard