Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Blink word in sentence

  • Aqeel Arruhaili

    May 4, 2019 at 9:43 pm

    wordIndexToBlink = 3;

    freq = 1;
    if (textIndex == wordIndexToBlink){
    seg = Math.floor((time – inPoint)*freq*2);
    if (seg%2) ?100:0
    }else 0

    This doesn’t show any mistakes but no result are seen….the word is still not blinking…

  • Dan Ebberts

    May 4, 2019 at 9:54 pm

    Replace this:

    if (seg%2) ?100:0

    with this:

    (seg%2) ?100:0

    Dan

  • Aqeel Arruhaili

    May 5, 2019 at 11:07 am

    It works …..thank you so much…

  • Aqeel Arruhaili

    May 5, 2019 at 5:39 pm

    What if I want to specify words themselves instead of their orders in the sentence to blink..e.g. “He is not listening to me” “He” “is” “listening”

  • Kalleheikki Kannisto

    May 6, 2019 at 11:18 am

    You would have to find the indices of the words in question: You can split the string to array with individual words and check each for a match to your “search” words.

    Kalleheikki Kannisto
    Senior Graphic Designer

Page 2 of 2

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