Thanks for your reply Dan. This is exactly what I was looking for.
The multifont formatting is where I was running into problems. I changed the first line of you expression to point to the text layer in my pre-comp. Works perfectly!
I think I know what you’re talking about with the script idea, but this solution allows us to format once and have all the titles update. Each open has the DVD Title followed by the Session number. Underneath that is each session’s title. Those have to be entered manually, because some are short and some long. Some are one line and some are two.
Thanks again for your help!
Kyle
L = comp("Series Name").layer("Series Name");
for (i = thisComp.width; i >= 0; i--){
temp = L.sampleImage([i,thisComp.height/2],[0.5,thisComp.height/2],true,time);
if (temp[3] > 0) break;
}
[i,value[1]]