Activity › Forums › Adobe After Effects Expressions › Fade in centered type on text expression
-
Fade in centered type on text expression
-
Joel Som
March 15, 2023 at 1:57 pmI’ve used the following expression kindly suggested by Dan Ebberts to have centered text type on:
charPerSec = 10;
idx = Math.floor(time*charPerSec);
value.substr(0,idx)I’m wondering what I would need to add in order to have the words or characters fade up?
thanks in advance.
-
Filip Vandueren
March 15, 2023 at 5:46 pmTry copying and pasting this on your layer:
Adobe After Effects 8.0 Keyframe Data
Units Per Second 30
Source Width 1
Source Height 1
Source Pixel Aspect Ratio 1
Comp Pixel Aspect Ratio 1
Text Animators Animator #1 Selectors Range Selector #1 Start #4
Frame
-1
Text Animators Animator #1 Selectors Range Selector #1 Offset #6
Frame
0
Expression Data
charPerSec = 10;
idx = (time*charPerSec);
End of Expression Data
Text Animators Animator #1 Selectors Range Selector #1 Advanced Units
Frame
2
Text Animators Animator #1 Properties Opacity
Frame percent
0
End of Keyframe DataIt will add an opacity textanimator with an expression on its range that keeps up with the sourceText getting longer. You’ll need to make sure the charPerSec is the same in both expressions.
Viewing 1 - 2 of 2 posts
Reply to this Discussion! Login or Sign Up
Log in to reply.