Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › Expression that changes animation due to Source text properties

  • Expression that changes animation due to Source text properties

    Posted by Arnis Vitols on December 4, 2013 at 9:54 am

    Hello,

    I have a project where I have text with bullet points. I want to fade in each next line of text without affecting the text lines that are already there. If the next keyframe is blank, then the entire text fades out. Since I’m new to expression writing I really have almost zero ideas what to do. Maybe somebody has an Idea?

    I have a code from another post where it just fades in and out the whole text, when the animation reaches the next keyframe, it might help.

    fadeTime = .3;

    txt = text.sourceText;

    if (txt.numKeys > 0){
    t = txt.nearestKey(time).time;
    if (time < t)
    ease(time,t-fadeTime,t,100,0)
    else
    ease(time,t,t+fadeTime,0,100);
    }else
    value

    Arnis Vitols replied 12 years, 10 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy