Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Why doesn’t the AE Numbers plug-in have commas???

  • Declan Smith

    February 20, 2012 at 9:46 pm

    This shouldn’t need another expression. The expression you have is purely for formatting the required number. Assuming that you are now using the point control that I suggested, you just need to add keyframes at the various points to ramp up through time to suit.

    So if I assume that your animation is over say 10 seconds, then at the beginning, set the value of the x portion of the point control to 12, add a keyframe. Then say at 5 seconds add another keyframe by changing the value to 17000, then say at 8 seconds set another keyframe with the value 4200,000,000.

    Clearly you will need to play with timings and possibly keyframe interpolation, to get the ramping how you want it.

    Declan Smith
    https://www.madpanic.tv
    After Effects CS5.5/ FCS3 / Canon 7D / Canon XL2 / Reason / Cubase

  • Nick Natteau

    February 20, 2012 at 9:58 pm

    Thanks very much Declan.

    Actually I did just that: used point instead of slider as you suggested, then added 3 keyframes (one for 12, one for 17,000 and one for 2,400,000,000)…but after I did that: from 12 to 17,000 the numbers were then going in reverse and after 17,000 forward. I can’t make it out. Will try again.

  • Nick Natteau

    February 20, 2012 at 10:03 pm

    Thanks very much Declan.

    Actually I did just that: used point instead of slider as you suggested, then added 3 keyframes (one for 12, one for 17,000 and one for 2,400,000,000)…but from 12 to 17,000 the numbers are going in reverse. Really weird.

    And when I now delete the middle keyframe and just go from 12 to 17,000 the number seems to ramp up to 6,000,000 and the go instantly down to 17,000.

  • Declan Smith

    February 20, 2012 at 10:14 pm

    Select all the keyfames for the point control, cmd click (or ctrl click if on windows) until they are all diamond shapes. Then, with them all selected, right click and select ‘keyframe interpolation’. Now change both temporal and spatial interpolation to linear.

    This should stop the numbers going negative.

    Declan Smith
    https://www.madpanic.tv
    After Effects CS5.5/ FCS3 / Canon 7D / Canon XL2 / Reason / Cubase

  • Nick Natteau

    February 20, 2012 at 11:19 pm

    Hi Declan,

    Thank you so much for all your help! It worked!

  • Nick Natteau

    February 21, 2012 at 12:09 am

    Hi Declan,

    I believe some currencies like the Euro actually go after the number. So I’ve been trying to change the position of the currency from appearing before to appearing after with the point instead of slider expression, and it doesn’t seem to be working:

    I tried changing this:

    “$” + (effect(“Point Control”)(“Point”)[0].toFixed(2)).replace(/(d)(?=(d{3})+(?!d))/g, “$1,”);

    to this:

    (effect(“Point Control”)(“Point”)[0].toFixed(2)).replace(/(d)(?=(d{3})+(?!d))/g, “$1,”); + “S”

    but the currency symbol isn’t appearing after. It seems to be breaking the setup.

  • Declan Smith

    February 21, 2012 at 12:34 am

    Nick

    In the expression, the semi-colon at the end is a terminating character and must always be the last thing on the line.

    eg. change what you have, to read

    (effect("Point Control")("Point")[0].toFixed(2)).replace(/(\\d)(?=(\\d{3})+(?!\\d))/g, "$1,") + "S" ;

    Declan Smith
    https://www.madpanic.tv
    After Effects CS5.5/ FCS3 / Canon 7D / Canon XL2 / Reason / Cubase

  • Nick Natteau

    February 21, 2012 at 10:53 pm

    Hi Declan,

    Thank you very much! I admire your patience with me. AE is an amazing program, and I feel like I’ve only just scratched the surface of what it can do. But all those expressions are really intimidating. I’m very grateful to you for taking the time to explain it all. I’m sure this will help others as well. Thanks again!

  • Van Bridges

    November 6, 2012 at 2:46 pm

    How from here would I add a multiplayer, EX (*3.5)

  • Declan Smith

    November 6, 2012 at 5:13 pm

    Change the expression to something like:

    Declan Smith
    https://www.madpanic.tv
    After Effects CS5.5/ FCS3 / Canon 7D / Canon XL2 / Reason / Cubase

    “it’s either binary or it’s not”

Page 2 of 3

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