-
Creating Dynamic Labels: Finding the current time of child comp
So, I created a text label in a parent comp to display the name of the comp, its current time and the name of the next (current) active layer on the timeline:
sLayer = "";
for (i = index+1; i <= thisComp.numLayers; i++){
L = thisComp.layer(i);
if (! (L.hasVideo && L.active && L.opacity > 0)) continue;
sLayer = L.name;
break;
}"YOUR STUDIO NAME - " +thisComp.name+"|"+timeToCurrentFormat() + "\n"+ sLayer;
Works great, but I’d like to also display the internal current time of the child comp (L) layer after the child comp’s name.
Probably overlooking the obvious but if anyone has any ideas?
At the very least, maybe the above code, as is, will help someone else.
Thanks for looking!
BC Canada