Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Fleko preset: Solve 13 expressions errors

  • Fleko preset: Solve 13 expressions errors

  • Nick Mara

    May 3, 2020 at 11:52 pm

    Hi everybody,
    I found an interesting free preset for After Effects called Fleko.
    https://www.obispost.com/fleko
    Download link:
    Fleko
    https://98869b28-96ff-44cf-94ae-dd65fef98a8a.filesusr.com/archives/52b639_4bef2a7680a0493ea29acd0f151e71c4.zip?dn=Fleko_AE_Preset.zip
    Unfortunately it’s not working properly because when applied,13 expression errors show up.
    I’ve tried it in AE 2019 and 2020 and….same result.
    I was able to solve some of those errors but I’m not a real PRO so here I am, asking for help to the experts ☺
    If someone of you would be so kind to download the .ffx preset, test it and solve these 13 errors, it would be amazing !!!

    Thanks in advance for your help,

    Cheers

    Nicolo Maragno

  • Dan Ebberts

    May 4, 2020 at 12:17 am

    You can quickly fix everything by switch to the Legacy ExtendScript expression engine:

    File > Project Settings > Expressions

    If you want to fix them for the JavaScript engine, change all instances of radians_to_degrees to radiansToDegrees, and change all the single-line if/else statements to multi-line:

    e.g. change:

    if ( Mat == 1) mTol else 255;

    to:

    if ( Mat == 1)
    mTol
    else
    255;

    or use brackets:

    if ( Mat == 1) { mTol } else { 255 };

    or use the ternary operator

    Mat == 1 ? mTol : 255;

    Dan

  • Nick Mara

    May 4, 2020 at 12:44 am

    Dan, thanks a million for your help !!!
    All of your suggestions work like a charm, wow !!

    Last week I posted a new thread but anybody answered, so you could possibly be the One again ☺
    https://forums.creativecow.net/thread/227/44700
    If you could solve this, I think that it would be a revolution for me and for many others AE users for sure.
    Thanks again

    Nick Mara

  • Nick Mara

    May 4, 2020 at 12:45 am

    Dan, thanks a million for your help !!!
    All of your suggestions work like a charm, wow !!

    Last week I posted a new thread but anybody answered, so you could possibly be the One again ☺
    https://forums.creativecow.net/thread/227/44700
    If you could solve this, I think that it would be a revolution for me and for many others AE users for sure.
    Thanks again

    Nick Mara

  • Dan Ebberts

    May 4, 2020 at 2:05 pm

    >is it possible to resize a composition with an expression?

    No. An expression can’t change anything except the value of the property hosting the expression. That tutorial shows you how to set up expressions to automatically resize things when you change the comp size.

    Dan

Viewing 1 - 5 of 5 posts

Log in to reply.

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