Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions loading page simulation – how do i get the % automatically?

  • loading page simulation – how do i get the % automatically?

    Posted by Bert Brown on June 30, 2008 at 6:46 pm

    what would be the expression for the source text where it would always say “Loading” and “%” and in between would be the opacity of say the layer “percentage”

    and how can i get this to have no decimal places?

    making a loading page simulation

    ———————————-

    peep my over-the-interweb band, red abbott.
    “we electro-rock over long distances…”

    Darby Edelen replied 17 years, 10 months ago 2 Members · 3 Replies
  • 3 Replies
  • Darby Edelen

    June 30, 2008 at 7:07 pm

    You could begin by typing “Loading” into the text layer and then add this expression:


    o = Math.round(opacity);

    " " + o + "%";

    I believe that should work, although I can’t check it right now (rendering).

    Darby Edelen
    Lead Designer
    Left Coast Digital
    Santa Cruz, CA

  • Bert Brown

    June 30, 2008 at 7:18 pm

    ah yes, Math.round.

    seems “loading” needs to be written in the first quotes in the expression, but otherwise, works great. thanks!

    ———————————-

    peep my over-the-interweb band, red abbott.
    “we electro-rock over long distances…”

  • Darby Edelen

    June 30, 2008 at 7:27 pm

    [Bert Brown] “seems “loading” needs to be written in the first quotes in the expression”

    Ah yes, that’s my fault… it should have been:


    o = Math.round(opacity);

    value + " " + o + "%";

    Darby Edelen
    Lead Designer
    Left Coast Digital
    Santa Cruz, CA

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