ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Fleko preset: Solve 13 expressions errors

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Nicolo Maragno
Fleko preset: Solve 13 expressions errors
on May 3, 2020 at 11:52:50 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_4...
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


Return to posts index

Dan Ebberts
Re: Fleko preset: Solve 13 expressions errors
on May 4, 2020 at 12:17:50 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



Return to posts index

Nick Mara
Re: Fleko preset: Solve 13 expressions errors
on May 4, 2020 at 12:44:37 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


Return to posts index


Nick Mara
Re: Fleko preset: Solve 13 expressions errors
on May 4, 2020 at 12:45:40 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


Return to posts index

Dan Ebberts
Re: Fleko preset: Solve 13 expressions errors
on May 4, 2020 at 2:05:46 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



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]