ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Link an image to a single letter?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Alejandro Espinosa
Link an image to a single letter?
on Feb 26, 2020 at 11:29:37 pm

Hi I'd really appreciate some help with my problem, I need to do something simillar to the "guess the phrase" show, where given a certain word it will randomly start appering, but I need to link this to a solid box (image or shape, at this point anything will do) so this box disappears as the letter is starting to fade in, I have the randomizer of the word working from a solution in this forum (attached below), but I can't figure out how to link this box to a specific letter so that they both are in the same position, let alone making it disappear as one letter fades in.

delay = 1.7;
fadeTime = .5;
letter = 1;

a = [];for(i = 0; i &lt; textTotal; i++) a.push(i);
seedRandom(index,true);
for (i = 0; i &lt; a.length; i++){
idx = i + Math.floor(random(a.length - i));
temp = a[i];
a[i] = a[idx];
a[idx] = temp;
}
myDelay = a[textIndex-1]*delay;
t1 = inPoint + myDelay;
t2 = t1 + fadeTime;
linear(time,t1,t2,100,0)


Return to posts index

Andrei Popa
Re: Link an image to a single letter?
on Feb 29, 2020 at 10:40:10 am

You can't retrieve the position of a letter in a paragraph. The only way you could do what you want if you made a layer for each letter.

Andrei
My Envato portfolio.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]