ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Boolean (true) that works in all languages

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Tristan Summers
Boolean (true) that works in all languages
on May 8, 2019 at 10:41:08 am

HI
I just want to check.
I am working on a comp that refers to a colour picker effect with \\ appended to its filename and (1)(1)(3) instead of effect names.
I assume this is to make it more universal in other languages.
I wanted to ask for best practice on this.

I want to control it (reverse the text and background colours) with a checkbox and was using if/else with (true) as the choice.
What is the non-languiage dependent equivalent?
is it OK to use (1) or (0) or can that cause problems
(still not done formal javascript training)
Tris


Return to posts index

Tomas Bumbulevičius
Re: Boolean (true) that works in all languages
on May 11, 2019 at 9:20:31 am

Hey Tristan,

are you sure that boolean statements does not work in other languages?

The thing is - whats happening in the framework (in this case, expressions within AE) is a different story than its in general javascript. Plain english statements are standard and they shouldn't affect how your expressions works. Custom framework related syntax, like referenced properties names, does.

Find out more:
After Effects Tutorials: motion design, expressions, scripting.


Return to posts index

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