Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Expression to Control a Single Keyframe’s value

  • Expression to Control a Single Keyframe’s value

  • Mark Aber

    September 27, 2018 at 10:03 am

    hey all,

    i was wondering if i could address the first and the second keyframe values with two different text layers at the same time.

    best,
    mark

  • Anita Gwara

    August 8, 2022 at 1:58 pm

    Hello! I understand this was ages ago but I am hopeless 😅

    I just used this expression and it worked perfectly for what I needed: I have a text layer that pulls data from a spreadsheet and a second text layer that has this number animated counting up (used the expression on this layer on a slider control).

    The only issue is that the number pulled from the spreadsheet has decimal numbers, like 5.15 and the counter somehow rounds it up and I end up with 5.00. So I do have decimal numbers added (see on the screenshot) on the counter expression but for some reason, it rounds to 0 😓

  • Dan Ebberts

    August 8, 2022 at 2:08 pm

    Instead of this:

    newV2 = parseInt (thisComp.layer("Text Layer").text.sourceText,10);

    try this:

    newV2 = parseFloat (thisComp.layer("Text Layer").text.sourceText);
Viewing 11 - 13 of 13 posts

Log in to reply.

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