Scale random words in a text using expressions

Moderators: Disciple, zlovatt

Post Reply
habla
Posts: 3
Joined: July 3rd, 2008, 4:57 am

hi everyone,

i'm bussy with an intro for a museum and one part of the intro is a flythru threw some text that is scrolling and i want some of the words in the text to scale in and out but everything i try is useles...

the comp is arranged with four layer where the first one contains the text and the other 3 contain the expression to scroll the text from layer 1, i'm using the following expression:

n = thisComp.layer("INTRO").text.sourceText;
textSplit = n.split("\r");
out = textSplit.length;
v = Math.floor(linear(time, 0, thisComp.duration, 0, 50))
textSplit[v + index]

now, in order to do that i have to make the 1 layer blind and name it INTRO the others are named #Set information from command!

is there a way to do a scaling on random words from the INTRO text with this or do i have to chose another approach?

Big thanks in advance,
H.
Post Reply