Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Count from 0 to 1 Million dollars

  • Xavier Gomez

    July 12, 2014 at 7:32 am

    “$” + effect(“Count”)(“Slider”).value.toFixed(0).replace(/\d{1,3}(?=(\d{3})+(?!\d))/g , “$&,”);

    That’s without tabbing (as in your post).
    Edit: for more decimals, replace toFixed(0) by toFixed(2) (for instance).

    Xavier.

  • Nick Gipson

    July 12, 2014 at 7:38 am

    I should have mentioned, I’m not that experienced with the “expression” part of AE, where should I put this?

  • Xavier Gomez

    July 12, 2014 at 7:42 am

    First, add a slider control to your text layer (in the effect panel) and rename it “Count” (to match the name i used in the expression);

    Next, alt+click the stopwatch of the source text property of the text. A text field appears for the expression: paste the expression there.

    You have to animate the slider or the text will stick to $0.

    Xavier

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