Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Tote Board Effect

  • Posted by Scott Moore on August 28, 2009 at 12:28 am

    I need to make a Tote Board for the MDA Telethon.

    I have everything I need but I am trying to simplify my work a little.

    Ok So I have a starting number say $15,875.
    And a ending number say $17,874.

    I like the numbers, and just the numbers randomize and slowly reveal the numbers by starting with the lowest digit.

    The numbers can range from $1 to $999,999. I like the $ dollar sign and the comma to stay the same.

    Any suggestions?

    Dan Ebberts replied 16 years, 8 months ago 2 Members · 2 Replies
  • 2 Replies
  • Scott Moore

    August 28, 2009 at 8:42 am

    Update:

    I got the numbers to do what I want.

    I created a slider controller and using an expression to have the text change the same time I’m doing a animation with the Character Offset and Range Selector. This works great and does what I want to do.

    I have one little issue I like to clean up and make easier.

    I am using this expression on my main text layer;

    s = “158 990,255 789”;
    j = (thisComp.layer(“Text Controller”).effect(“Tote Control”)(“Slider”)*1);
    s.split (“,”) [j];

    on the 1st line I like to point the text to another source. For example:

    s = thisComp.layer(“158 238”).text.sourceText,thisComp.layer(“255 789”).text.sourceText;

    When I do this line 3 does not work.

    Any suggestions on how to fix this expression?

    Thanks.

  • Dan Ebberts

    August 28, 2009 at 1:56 pm

    I would guess it’s going to look like this:

    s = [thisComp.layer(“158 238”).text.sourceText,thisComp.layer(“255 789”).text.sourceText];
    j = (thisComp.layer(“Text Controller”).effect(“Tote Control”)(“Slider”)*1);
    s[j];

    (not tested though)

    Dan

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